Jump to content
Sign in to follow this  
gossamersolid

Hide/Remove BIS Heal Actions (or any BIS Actions)

Recommended Posts

I've searched for threads on this, but I can't seem to find an answer to it.

Is there a way to remove BIS actions such as "Treat self" from the action menu?

Share this post


Link to post
Share on other sites

You cannot hide/remove any predefined "BIS actions" like primary/secondary weapon, heal etc. using removeAction because they are not added with SQF, but in the game's internals (supposedly C++).

You will notice that if you use addAction after mission start. The value returned by it will be 0 (or 1, can't remember at which number it starts) so there is no way to remove other actions than those added with addAction.

Share this post


Link to post
Share on other sites

Damnit! I know I can disable these actions if I use addons, but that's not a viable solution here.

thanks for the answer.

Share this post


Link to post
Share on other sites

Not sure if it's much use to you (depending on the situation) but you could use 'showHud false'. Again, this would only be practical for a cutscene or something similar.

Share this post


Link to post
Share on other sites
Remove all medipacks

Not a solution if you wish to use fak/medikit as a part of a scripted healing action.

It'd be great if bis added two other classes which are identical to the fak and medikit, but don't have any actions associated (this was my solution via addons - but I'm not using addons anymore as it basically cuts public traffic by 99%)

Share this post


Link to post
Share on other sites

Just don't make the player a medic. Then the medikit is a worthless lump of plastic.

Share this post


Link to post
Share on other sites

Ok, but the fak still provides and option to heal.

I don't see why BIS couldn't offer a scripting command to disable their heal actions or provide classes without scripted elements.

The duplicate class change would take 5 minutes max (how long it took me)

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  

×