• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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