Quick Help!

JesusFreak

Member!
Joined
Apr 12, 2004
Messages
124
Reaction score
0
Location
In a Box, on the side of the street
Website
Visit site
okay so there is a If state ment that if a unit gets with in range X of unit Y to do something, but unit Y is a specific unit pre-placed on the map.

How can i do it so that it says,
IF: unit comes within 500 of unit type X, X being a generic unit, like any unit of one type

PLZ Help me asap!

edit:
also how do i make it so a unit has his attack disabled until he picks up an item, like a sword, then his attack is enabled
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
I didn't test it or use the world editor for this but I would do...

Unit - Unit Enters (Playable Map Area)

Trigger - Add Event to (Trigger 2) : (Unit - Unit comes within range 400 of (Entering Unit))

and for your edit, since if you remove the ability called Attack and try to add it again, it doesn't work, so I would set their attack damage to 0-0 and with a sword it would go up because of the sword's damage bonus.
 

JesusFreak

Member!
Joined
Apr 12, 2004
Messages
124
Reaction score
0
Location
In a Box, on the side of the street
Website
Visit site
thanks i will try that soon!
 

New threads

Top