• 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.

[General] Variable

Status
Not open for further replies.

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
Why I cant use my variable in any event? When I want to seclect an variable, it write: No generated variables of this type. Anyone know how to solve it?
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
I want to use Unit within range events. And I'm not understand u cleary. I use the Variable Editor in the Trigger Editor. Is there any problem with it? :-ss
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
I want to use Unit within range events. And I'm not understand u cleary. I use the Variable Editor in the Trigger Editor. Is there any problem with it? :-ss

you could do something like this :

  • Adding Event
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Before doing your trigger, make an init trigger first. --------
      • -------- Why? Because we're going to add the event of the trigger by using an action. --------
      • -------- Look below. --------
      • Set Unit = (Picked unit)
      • Trigger - Add to Adding Event <gen> the event (Unit - A unit comes within 256.00 of Unit)
      • -------- Why are we doing this? Because you can use variables by adding the events with this action. --------
      • -------- Now you don't have to put any event at the trigger, because you added it already from here. --------
  • Adding Actions
    • Events
    • Conditions
    • Actions
      • -------- Any Actions --------
 
Status
Not open for further replies.
Top