• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[JASS] questions about summoned units

Status
Not open for further replies.
Level 3
Joined
Sep 14, 2007
Messages
43
1. how do i create a summoned unit with jass code?
2. if my hero summoned 2 units how do i get both of them with getsummoned unit?
3. how do i set the remaining time of the summoned unit with code, is it even possible?
 
  • You can not create a summoned unit via triggers, you can use jass triggers though to emulate one.
  • If your hero summons 2 units, each unit will fire the trigger separatly as they are summoned and so you can only refer to that unit and not any other summoned unit.
  • You can set the remaining time of a summoned unit in GUI even. There is a function that lets you set the expiration timer duriation and even type.
 
1. when you say emulate do you mean create a normal unit and delete it after a certain amount of time? or can i also emulate the blue line that desplays the remaining time of the summoned unit?
2. thanks
3. thanks
 
Status
Not open for further replies.
Back
Top