Add event to trigger From trigger?

Petoj

New Member
Reaction score
1
Is there any way to add a trigger to a trigger from another trigger(action)? custom code is ok...
 

SerraAvenger

Cuz I can
Reaction score
234
Works perfectly with custom script.
If you are fine with custom script, you should also try to work in Raw Mode (Ctrl + D).

This allows you to see the custom script behind the GUI directly.

Here is an example from a script that adds one player events to all players using a loop:

JASS:
    TriggerAddEventPlayerPropChange(gt_DistributeResources, lv_i, c_playerPropMinerals);
    TriggerAddEventPlayerPropChange(gt_DistributeResources, lv_i, c_playerPropVespene);

gt = global trigger
 
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