Unit Gain Ability

blurished

Active Member
Reaction score
1
simply put there will be a region,
if a unit enters it, it will gain an ability after XX amount of time,
but if it leaves b4 that time is up, it does not gain the ability
so yeah


can u explain to me how to do this in GUI posibbly?

thx in advance

EDIT:anyone?
 
Reaction score
7
Code:
Unit Gain Ability
    Events
        Unit - A unit enters [Region]
    Conditions
    Actions
        Wait [color=blue][Delay][/color] seconds
        If (([color=blue][Region][/color] contains (Triggering unit)) Equal to True) then do (Unit - Add [color=blue][Ability][/color] to (Triggering unit)) else do (Do nothing)
Code:
Unit Gain Ability End
    Events
        Unit - A unit leaves [Region]
    Conditions
    Actions
        Unit - Remove [color=blue][Ability][/color] from (Triggering unit)
 
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