Do Structs need an InitTrig function?

chovynz

We are all noobs! in different states of Noobism!
Reaction score
130
I've been looking at structs, globals and Libraries and I have the most basic question.

When I make a library or struct do I need this to start off? or can I delete EVERYTHING in a converted trigger?
JASS:
function Trig_StructStart_Actions takes nothing returns nothing
endfunction

//===========================================================================
function InitTrig_StructStart takes nothing returns nothing
    set gg_trg_StructStart = CreateTrigger(  )
    call TriggerAddAction( gg_trg_StructStart, function Trig_StructStart_Actions )
endfunction
 
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