HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how to do a specific order on unit?

11-08-2002, 06:16 AM#1
Chireru
That subject title wasn't clear, but anywho, how would I go about making a trigger that is...

"If this spell is cast upon this unit, this will happen"?

I can't really figure out how...my head hurts now :sweatdrop

I've looked at various triggers, and even tried doing the "If/Then/Else", but I just can't get my brain into working...and another thing, IS it even possible?
11-08-2002, 10:05 AM#2
DemonicSoul
event- a unit is ordered an order targeting an object

condition- order comparison- conversion- convert string to order


to find out the names of the orders, make this trigger

events-
a unit is ordered an order targeting an object
a unit is ordered an order targeting a point
a unit is ordered an order with no target

action-
Game- Text message
display to all players the text: (string((issued order)))

(conversion- convert string to order)


and that will show u what the spells and orders and such are so uh.. hope this helps