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

Need help with event

Status
Not open for further replies.
Level 4
Joined
Mar 12, 2008
Messages
89
hello I have a unit ,which flies to building..that building can peasant build anywhere and when the unit is near that building need to unit cast spell human form I know how to make that cast..but don´t know that event
 
Level 4
Joined
Nov 9, 2008
Messages
112
i think u should create a region if u finish build a structure

i think "again":hohum: the event is
- unit enter (created region)
 
Level 4
Joined
Mar 12, 2008
Messages
89
yea I have this event for a lto of scripts..but it laggs :( I had to cut them....
Arusar... u can´t make region event as variable
Airandius...what condition can check it ?
 
Level 4
Joined
Nov 9, 2008
Messages
112
make me think again:grin:

EDIT: @Darkhunty don't make double post before 48 hour :)
better u edit the post
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
Event: Every 1.00 seconds.
Action: Pick all units around <your building> in 500 range.
If picked unit is that flying thing.
Then delete picked unit and create a peasant.

Make a separated trigger to put the main building into a unit variable.
So you can use that variable in the pick all units around unit action.

-----

I don't have a editor atm so you'll have to figure it out with my info.
 
Status
Not open for further replies.
Top