Page 1 of 1

A Scripting Question

Posted: Thu Aug 28, 2003 5:20 am
by Voltaire
I am working on a map which is almost done, except for what I call eye candy to spice up the map. The question I have is how do you write a script that where once an ally or axis player reaches a certain point or level in a map, the game ends with whatever side that reaches that point is declared the winner. Then of course the map is replayed like those in the objective maps several times. It's basically a enclosed tower with several levels going up from the ground. The object is to reach the uppermost room first. There's sliding doors and panels, transporters and some unexpected surprises.

Thank You,
Voltaire

Posted: Thu Aug 28, 2003 6:12 am
by jv_map
Simply make a trigger_multiple with key / value:
setthread / wintrigger

Then in your script make a thread like this:

Code: Select all

wintrigger:
  teamwin parm.other.dmteam
end

Posted: Thu Aug 28, 2003 1:30 pm
by Voltaire
Thanks jv, I'll give it a try :D

Voltaire