victory condition

U

Unregistered

Guest
Please help...... I want a victory to occur when a player has a certain number of a certain type of unit..... Please help!! I am somewhat confused how to add this event/action and build the condition. =}
 

Darg

Administrator
Reaction score
49
how are these units appearing on the map? are they being trained? is so, you can do this:

event: [player-owned unit event]
a unit owned by player <x> finishes training a unit

condition:
[unit-type comparison]
unit-type of trained unit equal to <some unit>
[integer comparison - number of units in region]
number of units in playable map area of type <some unit> equal to <x>

action: [game - victory]
game - victory .....

if this doesn't fit your needs, then do this:

event: [unit enters region]
a unit enters playable map area

condition:
[unit-type comparison]
unit-type of entering unit equal to <some unit>
[integer comparison - number of units in region]]
number of units in playable map area of type <some unit> equal to <x>

action: [game - victory]
game - victory .....
 
U

Unregistered

Guest
Thanks so much, Darg.... That gets me started.. I am very new to this and will probably need your help as much as you're willing to give it to help me realize my "Pig-farming" dream.
 
M

MrJoeS

Guest
That sounds cool. Can I help you test it? PM me or whisper to me on b.net: Joe_Slaader.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top