Tower Wars , sending units

set

New Member
Reaction score
2
Hi , i need some exemple how should triger work to send units.
There are 2 Team...
So for exemple ... when blue hire unit it will spawn at orange.. now what i need is triger to menage that..
and one more thing ..triger to menage income , pls if anyone is viling to help do it in gui , thx
 

ZiggyMcjoney

Data editor?! AAAHHHHH!
Reaction score
95
For income, make an Integer Array variable with as many arrays as there are human players.

Then do this:

Code:
Events
 Every 15.00 seconds of game time

Actions
 For each Integer from 1 - 12* do (Actions):
  Add YourIntegerVariable[Integer A] to Player(Integer A) Current gold

To add income:

Code:
Events
 Unit finishes training a unit

Actions
 Set YourIntegerVariable[Player number of (Owner of Triggering unit)) = YourIntegerVariable[Player number of (Owner of (Triggering unit))] + (Point value of (Trained unit))

Point value can be set in the object editor.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top