HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Yep He Did

10-20-2002, 01:17 PM#1
giantworm
Yep Thanx xttocs....

Ill Explain it Anyways and show what i did

i was trying to make it so a certain unit when clicked would attack when allied.. (due to there is no chat Options) for a Custom Map.

Create Boolean Array (Variable) ... in this i just named it Boolean

Event
--------
a unit owned by player 1 (red) is issued an order targeting a object

Conditions
----------------
Boolean[0] Equal To False
(Unit-Type of (tarrgeted unit of issued order)) equal to Spirit -Spirit is just a unit you can change to whatever u want

Actions
----------
Set Boolean[0] = True
wait 0.01
Unit - Order (ordered unit) to Attack (Target Unit Of Issued Order)
wait 0.01
Set Boolean[0] = False


And thats alll you little Piggys ... so if someone needs it there it is
10-20-2002, 09:17 PM#2
CrazyGamer
I get the feeling that this was supposed to be a reply :yup:
10-20-2002, 09:30 PM#3
DKSlayer
Try and keep your reply's in the same thread. It makes things easier. Locked.
10-21-2002, 12:55 AM#4
xttocs
Sure thing... np giantworm