• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Code for Stair Glitch

Chaos7777

Trainer
Contributor
Came up with this real quick and tested it. Let me know what ya think.
Put this at the same location as the stairs (It does not prevent players from going up them)
Code:
{"Entity"{ENT[{"EntityID"{str[ScriptBlock]}}{"Position"{sngArr[STAIR LOCATION]}}{"TexturePath"{str
[CENTER]}}{"Textures"{recArr[[0,48,16,16]]}}{"TextureIndex"{intArr[0,0]}}{"Collision"{bool[0]}}{"ModelID"{int[0]}}{"Action"{int[0]}}{"AdditionalValue"{str[ANYFOLDER\STAIRGLITCH]}}{"Rotation"{int[0]}}]}}
-------------And Anywhere yall see fit for the STAIRGLITCH file.---------------
Code:
version=2

:if:<register.registered(STAIRGLITCH)>=False
@Player.Turn(2)
@Player.Move(1)
@Player.Turn(2)
@Text.show(Stair glitch. We know!)
:endif

:end
---------------------------------------------------------------------
It's not actually fixing the problem, but it forces the player out of the stairs to just try again and prevents them from getting stuck. I tested it out in the open and it does what I intended, however I could not get the stair glitch to work to see if it would work while inside the stairs. I cant think of any reason it wouldn't though.
 

Fanta

Content Developer
P3D Developer
Global Moderator
Came up with this real quick and tested it. Let me know what ya think.
Put this at the same location as the stairs (It does not prevent players from going up them)
Code:
{"Entity"{ENT[{"EntityID"{str[ScriptBlock]}}{"Position"{sngArr[STAIR LOCATION]}}{"TexturePath"{str
[CENTER]}}{"Textures"{recArr[[0,48,16,16]]}}{"TextureIndex"{intArr[0,0]}}{"Collision"{bool[0]}}{"ModelID"{int[0]}}{"Action"{int[0]}}{"AdditionalValue"{str[ANYFOLDER\STAIRGLITCH]}}{"Rotation"{int[0]}}]}}
-------------And Anywhere yall see fit for the STAIRGLITCH file.---------------
Code:
version=2

:if:<register.registered(STAIRGLITCH)>=False
@Player.Turn(2)
@Player.Move(1)
@Player.Turn(2)
@Text.show(Stair glitch. We know!)
:endif

:end
---------------------------------------------------------------------
It's not actually fixing the problem, but it forces the player out of the stairs to just try again and prevents them from getting stuck. I tested it out in the open and it does what I intended, however I could not get the stair glitch to work to see if it would work while inside the stairs. I cant think of any reason it wouldn't though.
I think....we have fixed that in next version anyways.
or not...

Or yea, we did fix it for the next version.
 
Last edited:
Top