Advanced Search

Author Topic: Skull Barrier Weapon Switch delay  (Read 938 times)

0 Members and 1 Guest are viewing this topic.

August 03, 2016, 07:12:17 AM
Read 938 times

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
Skull Barrier Weapon Switch delay
« on: August 03, 2016, 07:12:17 AM »
So normally in this game, you can scroll through your weapons very quickly with them taking up the screen for about 1 tic at a time.
But if you have a skull barrier up, scrolling through skull barrier will make it do the shield activate animation which delays switching and wastes valuable time.
Something like this would fix it.
Code: [Select]
Ready:
SKLA A 0 ACS_ExecuteAlways(998,0,34)
SKLA A 0 A_JumpIfInventory("SkullShieldCheck", 1, "ShieldActivateSwitch")
SKLA A 1 A_WeaponReady
Goto Ready+1
ShieldActivateSwitch:
SKLA IJ 2 A_WeaponReady(WRF_NOFIRE)
SKLA K 5 A_WeaponReady(WRF_NOFIRE)
goto ShieldActive

September 12, 2016, 08:39:02 PM
Reply #1

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: Skull Barrier Weapon Switch delay
« Reply #1 on: September 12, 2016, 08:39:02 PM »
Agreed and added