InitTrig takes ??

Pahl

New Member
Reaction score
7
Code:
function InitTrig_Enemy_attacks_JASS takes nothing returns nothing

Reading this got me thinking that it might be possible to "send" a variable from a trigger to another, using something similar to "trigger - run" but with the option to send variables with it.

Is that possible, cause it would be very usefull in my map (trying to avoid as many udg_ as i can).
 

SFilip

Gone but not forgotten
Reaction score
634
if you are trying to avoid globals then you might consider using CSCache or Local Handle Vars. these systems allow you to attach variables to triggers using the game cache...more info inside the scripts themselves.
 
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