HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detect Footman Defend activate?/

07-07-2002, 08:42 AM#1
littlecramp
The Human footman has a defend ability which protect it from piercing damage but slow down movement speed. My Qs. is how to detect the defend button or the ability begin use?
07-07-2002, 11:43 AM#2
Guest
you will get a different icon when dfened is active. ALso the footie will have a different animation
07-07-2002, 06:40 PM#3
Guest
to find out what each order you do is make a simple trigger

on event unit is issued an order

game - display (issued order)

if u make an order and nothing is displayed, most probably you wont be able to detect that order in the future


then later on if u want to check on an order

event
unit is issued an order
condition
(issued order) equals order(whatever name of the order is)

I can't remember if defend can be detected, its prolly 'defend' if it can (duh heheh)
07-08-2002, 02:23 AM#4
littlecramp
Or anyone know the string value for order: "DEFEND" ?
07-09-2002, 03:53 PM#5
Guest
i'm pretty sure the value is just "defend"
07-09-2002, 04:53 PM#6
littlecramp
How could you be so sure?
07-10-2002, 01:57 AM#7
Guest
well, first of all, PRETTY SURE isn't THAT sure... but its simple.. look, most commands are meant to be as simple & strait forward as can be so that ppl like you & i can figure them out alone.
i know that the "Devour" abilitys' string is "devour" for example.
so just try it on a test map, whats the biggy?
07-10-2002, 03:59 AM#8
littlecramp
Well, one exception is hold command where string value="holdposition"