[Not needed] +WEAPON.UNSWITCHABLE

Moderator: GZDoom Developers

+WEAPON.UNSWITCHABLE

Postby XLightningStormL » Fri Mar 22, 2019 8:11 pm

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
User avatar
XLightningStormL
DUSK Wiki Master
 
Joined: 09 May 2016
Discord: XLightningStormL#7461
Twitch ID: XLightmingStormL

Re: +WEAPON.UNSWITCHABLE

Postby Blue Shadow » Fri Mar 22, 2019 8:34 pm

Wouldn't WRF_DISABLESWITCH flag be helpful here?
User avatar
Blue Shadow
 
 
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: +WEAPON.UNSWITCHABLE

Postby XLightningStormL » Fri Mar 22, 2019 8:41 pm

Ah, forgot about that little bugger.

You can close the thread now :P

(yeah I forgot to log in too)
User avatar
XLightningStormL
DUSK Wiki Master
 
Joined: 09 May 2016
Discord: XLightningStormL#7461
Twitch ID: XLightmingStormL


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests