Objective.


(josuhaz) #1

How can i make the game won by a team when something (like a door) is destroyed. Just like in fuel dump when that is destroyed the allies win. Can some1 help me on that? :???:


(Loffy) #2

Hi!
First, the map comes with a script. The script is written by the map maker.
The door is made (by you, the map maker) into an entity. That entity calls a script routine, when it “dies” (gets destroyed). The script routine can be almost anything: play a speaker sound, make some other entity move, or just end the game. And you can add to the script who (what team) will win, if/when the door is destroyed.
I suggest you open the script from some maps and see. There you will find script commands that do these things.
// Loffy


(josuhaz) #3

oke i will chech out other scripts.


(DAbell) #4

I replied to a very similar thread here

http://www.splashdamage.com/forums/viewtopic.php?t=6159

Have a look it should help you if not just ask on this thread and i will help you.