Snippet Gold from Creeps

S

sh4d0ws

Guest
Code:
Overall Golf
    Events
        Unit - A unit Dies
    Conditions
        (Owner of (Dying unit)) Equal to Neutral Hostile
    Actions
        Player - Add ((Hero level of (Dying unit)) + (Integer((Random real number between 1.00 and (Real((Hero level of (Dying unit)))))))) to (Owner of (Killing unit)) Current gold
        Special Effect - Create a special effect attached to the overhead of (Dying unit) using UI\Feedback\GoldCredit\GoldCredit.mdl
 

Tinki3

Special Member
Reaction score
418
sh4d0ws, your trigger leaks a special effect, and bounty from units can be activated like so:

Code:
Turn Bounty On
    Events
        Map initialization
    Conditions
    Actions
        For each (Integer A) from 1 to 16, do (Actions)
            Loop - Actions
                Player - Turn Gives bounty On for (Player((Integer A)))
 
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