• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Variable Integer for Loop (Changes to None after pasting in other map)

Status
Not open for further replies.
Level 6
Joined
Feb 5, 2012
Messages
1,685
So this problem happens to all Variable Interger used for loops from a map.


When i copy a trigger with a variable integer for loop let just say GLOBAL_LOOP (Integer) Array [12]



Then after posting the trigger into another map.. the global loop can't be used again...

When i open it in the Variables Window.. i noticed that it becomes..

GLOBAL_LOOP (None) Array [12]

and also if i create a trigger the GLOBAL_LOOP doesn't show up!...

I try changing the Type to Integer but it DISABLES all the triggers that uses the GLOBAL_LOOP..

And it takes me 1-2 hours in reentering the GLOBAL_LOOP to enable the triggers


I need someone who is expert in World Editor program not on GUI triggering to answer this problem..

You can't solve this by creating a trigger in the world editor..

This problem is somewhat internal .. It happens even on JNGP...
 
This happens also to Real Variable Events(See Game Events)
The only solution to this problem is returning it into an integer then fill all the triggers that uses this variable.

Sorry.

But,if you want to make it easier,create an integer variable for every integer loop,because this might cause collisions and may result to map crash if you didnt.
 
Status
Not open for further replies.
Top