• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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
 
i think u should create a region if u finish build a structure

i think "again":hohum: the event is
- unit enter (created region)
 
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 ?
 
make me think again:grin:

EDIT: @Darkhunty don't make double post before 48 hour :)
better u edit the post
 
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.
Back
Top