Trigger not running on init

Romek

Super Moderator
Reaction score
964
If a trigger is to run on map init does it have to get named properly?

As in:

JASS:
set gg_trg_Untitled_Trigger_001 = CreateTrigger(  )
I think so, yes. I'm too sure.
It's better to use local triggers though, so it doesn't matter what it's called.

Or if you want actions to run on map init, put them into the InitTrig function.
 

AdamGriffith

You can change this now in User CP.
Reaction score
69
Yeah it just occured to me to put my actions into the init function and not the action function xD
 
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