Jump to content
Sign in to follow this  
Kydoimos

Static Weapons and Dismantle Option

Recommended Posts

Hi all - just a quickie - does anyone know if you can have a static weapon unlocked, but bar the player from dismantling it?

Share this post


Link to post
Share on other sites

Does anyone know of a way that this can be done?

Share this post


Link to post
Share on other sites
Does anyone know of a way that this can be done?

Tried it to no avail, even removeallactions didn't work.

Seems to be some engine thing, so until BI introduce a "BIS_allowDisassemble" variable for this it's not doable by scripting.

Share this post


Link to post
Share on other sites

By editing the config of the static weapon, this would be possible, but not by scripting.

Share this post


Link to post
Share on other sites

Thanks chaps! Ah well! Let's hope BIS sort it!

Share this post


Link to post
Share on other sites

uhm, by experience I know there`s something in the engine that makes not being the same vehicle the static and the subsecuent backpacks.

I know because my despawning scripts didn't removed the backpacks when you dismantled the static and gone far away from it's original place, but as soon as you mount the backpacks, it deleted the static (my despawn script was shit at that time).

So, maybe you can do a check on what status is the static, where is etc.. and if it's not there or not at its original place, delete the backpacks around it's original place and create a new static....

But it's a mess....

Share this post


Link to post
Share on other sites

Yes - it's a shame there isn't a command for this!

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  

×