Creating Local Variables

AgentPaper

From the depths, I come.
Reaction score
107
This is probably a stupid question, but I'm getting a weird error trying to create some local unit variables:
Code:
        Custom script:   local unit udg_AttackUnit
        Custom script:   local unit udg_AttackedUnit
I have variables for each with the exact name, but for some reason it's not letting me enable the trigger, saying it "expected a code statement". Is it impossible to have unit locals?
 

AgentPaper

From the depths, I come.
Reaction score
107
Ah, thanks! Ironically, the one action I had before it was put there to help test for bugs.:banghead:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top