+WEAPON.UNSWITCHABLE

Moderator: GZDoom Developers

Post Reply
XLightningStormL
Posts: 384
Joined: Mon May 09, 2016 1:38 am
Location: Anywhere but here
Contact:

+WEAPON.UNSWITCHABLE

Post by XLightningStormL »

Simply put, prevents the switching of one's weapon, regardless of Slotnumbers, or Mousewheel. The only way to switch is to remove the weapon (Through ACS and TakeInventory for example)

Use: Can be used to simulate Player usable turrets
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: +WEAPON.UNSWITCHABLE

Post by Blue Shadow »

Wouldn't [wiki=A_WeaponReady]WRF_DISABLESWITCH[/wiki] flag be helpful here?
XLightningStormL
Posts: 384
Joined: Mon May 09, 2016 1:38 am
Location: Anywhere but here
Contact:

Re: +WEAPON.UNSWITCHABLE

Post by XLightningStormL »

Ah, forgot about that little bugger.

You can close the thread now :P

(yeah I forgot to log in too)
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”