Jump to content
Sign in to follow this  
febriannas

Remove or Disable some unit action by Trigger like "HealSoldierSelf"

Recommended Posts

Remove or Disable some unit action by Trigger like "HealSoldierSelf"

what is the action for that trigger??

Share this post


Link to post
Share on other sites

HI Jshock.. yes you also my savior

btw the page says cannot remove default action?

but if can how we do the writing, with example of "HealSoldierSelf" ?

Edited by febriannas

Share this post


Link to post
Share on other sites
HI Jshock.. yes you also my savior

but how we do the writing, with example of "HealSoldierSelf" ?

Actually, sorry for my incompetence, this command won't work, unless there is a workaround that I'm unaware. I just quickly looked up action and then looked at related commands, so removeAction was the best fit, but it's for the addAction commands, not unit actions.

Share this post


Link to post
Share on other sites

ahh i see..

hey maybe how about disable anymovement? so when the unit want to do it it cant because of this action?

like freezit out totally? if so can you show me that?

Share this post


Link to post
Share on other sites

unit switchMove "HubSpectator_Stand";

The "HubSpectator_Stand" bit might not be right, checck for it in the animation viewer.

In response to your first question showHud might work but it could be a bit overkill.

Share this post


Link to post
Share on other sites

wow thanks jona for participate, but i think it posted in the wrong thread, isn it?

Share this post


Link to post
Share on other sites
wow thanks jona for participate, but i think it posted in the wrong thread, isn it?

You asked to get a player to stop moving, that switches them to an animation that prevents them moving. If you meant AI however you could just use

unit disableAI "move";

Share this post


Link to post
Share on other sites

wow sorryyy, you said about HUD? because i never ask about "showhud" lol, once again sorry man and thanks for your answear.

actually i found a solution,

unit enablesimulation false forgot about it, hehe

Ohya, but the thing is i need him to shout a radio report first of his status like "INJURED" how we call the action to do the radio?

Share this post


Link to post
Share on other sites

Remove First Aid Kit, if unit has nothing to heal itself with, the action will not show.

Share this post


Link to post
Share on other sites

yea but when he got healed, hell lose all the first aid, or hard to take it all back

so du u know how to TRIGGER ACTION. unit status report?

---------- Post added at 19:46 ---------- Previous post was at 19:44 ----------

or maybe a disable input for certain unit?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×