Undeclared Variable?

Plutonium

New Member
Reaction score
2
Undeclared Variable gg_trg_Naruto_forms

set gg_trg_Naruto_forms = CreateTrigger( )

what does this mean? i have Jass helper enabeled because if i dont, when i test the map i get redirected to the main menu....
but i dont know jass :S
 

Tom Jones

N/A
Reaction score
437
It means that the variable your referring to doesn't exist or that you have misspelled the variable name. Since the variable in question is a blizzard generated one, try renaming your GUI trigger. That should also rename that particular variable.
 

Plutonium

New Member
Reaction score
2
Here is both (i had them in the same trigger before.... now i just splitted them up)

Trigger:
  • Naruto Naruto forms
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Nine Tails
    • Actions
      • Game - Display to (All players) the text: nine tails
      • Unit - Hide (Casting unit)
      • Unit Group - Pick every unit in (Units of type Naruto_NineTails) and do (Actions)
        • Loop - Actions
          • Unit - Unhide (Picked unit)
          • Unit - Change ownership of (Picked unit) to (Owner of (Casting unit)) and Change color
          • Unit - Move (Picked unit) instantly to (Position of (Casting unit))
      • Wait 10.00 seconds
      • Unit Group - Pick every unit in (Units of type Naruto_NineTails) and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of (Playable map area))
          • Unit - Change ownership of (Picked unit) to Player 12 (Brown) and Change color
      • Wait 0.10 seconds
      • Unit - Unhide (Casting unit)


Trigger:
  • Naruto forms Copy
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Four Tails
    • Actions
      • Unit - Hide (Casting unit)
      • Unit Group - Pick every unit in (Units of type Naruto_FourTails) and do (Actions)
        • Loop - Actions
          • Unit - Unhide (Picked unit)
          • Unit - Change ownership of (Picked unit) to (Owner of (Casting unit)) and Change color
          • Unit - Move (Picked unit) instantly to (Position of (Casting unit))
      • Wait 15.00 seconds
      • Unit Group - Pick every unit in (Units of type Naruto_FourTails) and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of (Playable map area))
          • Unit - Change ownership of (Picked unit) to Player 12 (Brown) and Change color
      • Wait 0.10 seconds
      • Unit - Unhide (Casting unit)
      • Game - Display to (All players) the text:
 

Plutonium

New Member
Reaction score
2
exactly :S
can it have something to do with me using both?
and not getting the jass part to work ^^ even tho i have tried it with the jass triggers disabled :S
 
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