Joined: Sun Jul 17 2005 Location: uk,manchester Posts: 41
im trying to set nile to print TEXT on to the screen for all to see ,when a objective is completed . E.G Ammo boxs desroyed But i dont no how????? (41)
p.s please bear in mind im british and rather thick..... (41) (41)
Joined: Fri Feb 27 2004 Location: Leeuwarden - Holland - Europa Posts: 752
i am really a noob in coop map making , but i thougt it was a general information , and then 1 of the sounds. (16) (17) not sure , but i think 1 of the die hard map makers wil anwers
Joined: Fri Dec 19 2003 Location: Scotland Posts: 4651
This is a wac command, you need to do a conditional event and set the if unit dead play wav
The wav list is in our download section.
it should look something like this when your done
if never() and (ssndead(133603) and ssndead(133602) and ssndead(133258) and ssndead(133259) and ssndead(133599) and ssndead(133600) and ssndead(133598) and ssndead(133601)) then //planes goal 2 KillSSN(68195) wave("alarm1.wav", 10) text "INSERT MISSION TEXT HERE" endif Its taken from Trevs airport wac file, the planes goal is to destroy all the planes in the hangers before the text comes up that you have completed that mission.
You can put as many targets as you like before the text is displayed, so if you have lots of targets you can put them so it wont display the text until all the targets have been blown as you can see above the wac lists quite a few targets, or you can do them individualy.
Below is the wac command for a text to be displayed on a time limit shows in seconds (the 300) so you can have this at the start of a map to tell everyone who made the map, also you can remind everyone to push the I key for mission goals.
As nile doesnt have the goals working, you can make a bin file that will display the goals when everyone presses I, the easiest way to make a bin file is to same your mission as npj and then download niles little helper and open the npj put in what info you want in the bin editor then save, very easy, but best to do this last on the list once the maps completed.
if(past(300)) and never then wave("bmpv456.wav", 10) text " " text " YOUR MESSAGE HERE" text " " endif