Jump to content
Sign in to follow this  
PSYKO_nz

hide body script?

Recommended Posts

anybody know how to add the hide body feature to a unit eg sniper?

Share this post


Link to post
Share on other sites

si in the init i just put

canHideBodies = true;

and its done?

Share this post


Link to post
Share on other sites

No. You can't give the ability to units without making an addon. However, you can add an action to all units that emulates such an ability.

Share this post


Link to post
Share on other sites

Trigger

Condition: true

On act:

{_x addAction ["Hide body","hidebody.sqs",nil,1.4,true,true,"","_this!=_target and !alive _target and _this distance _target<4"]} forEach allUnits

hidebody.sqs

_target=_this select 0

hideBody _target
~5
deleteVehicle _target
exit

Share this post


Link to post
Share on other sites

cool and what do i use as the trigger requirements for best effect

Share this post


Link to post
Share on other sites

First see how it works like that and then think how it could be better.

Share this post


Link to post
Share on other sites

thanks heaps bro, sorry for the dumb questions, im not very good at this stuff

thanks a ton it worked perfect

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  

×