skrinimator
16 years ago
Hey im using world builder for generals. My question is, is there anyway to end a match when i kill a specific unit or destroy a specific building?
Is there like an script for that or something??
Sponsor
Drummin
16 years ago
There are several options but the most simple is a script like this.
*** IF ***
Unit 'UnitX' has been destroyed.
*** THEN ***
Show 'Victorious' window and end game.
skrinimator
16 years ago
I cant find that- under which category is it in?
Unit? cause if so then i can't find it
Drummin
16 years ago
You asked about using a specific unit or building and so I named it "UnitX" for the example. So name your object or building and use this name in your script.
*The condition is down in the lower section under "[Unit] Unit is destroyed".
*The action if TRUE part of the script is found under "[Multiplayer] Announce Victory".
skrinimator
16 years ago
oh ok thank you that explains it much better 🙂