Joined: Fri Dec 19 2003 Location: Finland Posts: 234
Some times you want to use an AI that hold other than the RPG, AK47 and the Dragunov. Many of them do respawn so here is a command to put in the WAC file so he does not respawn when killed..
The first 3 XXX is individual SSN nr on the AI and 0 is the respawn count. Any ammount to respwan is 1, 2, 3 and so on
if never then ssnspawn(XXX,0) endif
Next one if you want to have fog in the map in an easy way. If you make a night map you will see that the moon will shine not that bright and make the map a bit darker also. In a day map it will reduse the distance you will be able to see. You decide the distance, in here it is 300 meters.
use fogdist(300)
Next is if you want people to be aware of reading Goals and following Waypoints. The text will show up in the left low corner. The "if past " number is the time elapsed in the game for the text to show up. 3600 is 1 hr (60 min) and you can change the value to your liking.
if past(50) and never then wave("alarm9.wav", 10) text " " text "Remember to check objectives!" text "To check them, push G key" endif
if past(630) and never then wave("alarm9.wav", 10) text " " text "Remember to follow waypoints!" text "To check them, push F7 key" endif
This is if you want to have a single wave file to be played in a surtain time within the game.
if past(90) and never then wave("ampr372.wav", 10) endif
This next if you want to give any kind of alert with a wave file to the players when a surtain event have happened.
if event(9) and never() then wave("ampv284.wav", 10) endif
Will be putting them up here allong and also think Trevor have some good ones for use.