This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi,
When using the "unit clicked" or "unit highlighted" event, actor messages doesn't seem to work for me. It works fine when using the "unit selected" event though.
doesn't work:
Untitled Trigger 001 Events Unit Selection - Any Unit is Highlighted by Player Any Player Local Variables Conditions Actions Actor - Send actor message "GlowStart" to main actor of unit (Triggering unit) Actor - Send a ctor message "SetTintColor 255,0,0" to main actor of unit (Triggering unit)
works:
Untitled Trigger 001 Events Unit Selection - Any Unit is Selected by player Any Player Local Variables Conditions Actions Actor - Send actor message "GlowStart" to main actor of unit (Triggering unit) Actor - Send actor message "SetTintColor 255,0,0" to main actor of unit (Triggering unit)
But what can I do, to get the first trigger to work?
EDIT: sry, this somehow went into the wrong forum... :(
EDIT2: the solution is to uncheck the unit's "cannot be highlighted" flag
Thanks.
Hi,
When using the "unit clicked" or "unit highlighted" event, actor messages doesn't seem to work for me. It works fine when using the "unit selected" event though.
doesn't work:
works:
But what can I do, to get the first trigger to work?
EDIT: sry, this somehow went into the wrong forum... :(
EDIT2: the solution is to uncheck the unit's "cannot be highlighted" flag
Thanks.