I really don't understand what's going on but it just doesn't spawn anything at all
addHook("MobjThinker", function(mo) -- runs once per player each frame
if mo.extraenemyx == nil then
mo.extraenemyx = P_RandomRange(-3, 3)
end
if mo.extraenemyy == nil then...
For some reason, specifically the spring and underwater part (lines 2 and 3) don't work but the player.mo.z - player.mo.floorz (line 1) works fine.
if player.mo.z/FRACUNIT - player.mo.floorz/FRACUNIT < 256
or (player.mo.eflags & MFE_UNDERWATER)
or (player.mo.eflags & MFE_SPRUNG)...
I need it so that if the player touches a ceiling, they are instantly killed.
1741940294
And same thing with the walls too
1742013722
I figured out how to make the ceiling work using ceilingz but I still need help figuring out how to check if the player touched a wall
I'm making a character mod where the character's main ability is teleporting up to 3 times in the air. I need it so that the character doesn't teleport instantly and there's a moment where the character is just invisible and then it teleports. Espio's teleport is a good example of what I'm...
Welcome to my Wisp Pack progress thread!
The Wisp pack is a project I'm planning to work on for SRB2. The Wisp Pack is a character pack full of wisps from the Sonic universe. It will include all the wisps from Sonic Colors and if I feel like it I'll add more. I have planned for the wisps to...
Basically, I'm making a prototype for a roguelite-ish system where every time you spawn into a map you get to choose between more speed or more jump height but I don't know why it just doesn't do anything.
addHook("PlayerThink", function(player) -- runs once per player each frame
if...
Dodobee submitted a new resource:
No Jump Knuckles - An addon that makes knuckles more interesting to play (in my opinion)
Read more about this resource...
Using end confuses me as I don't understand when to put the bracket at the end of the script and it always gives me errors saying unexpected symbol near ')'
So I am attempting to make a mod where you can kind of create small lua scripts in game using console commands and i literally have no idea how to do it. Here is what I have so far. Would appreciate if somebody explained how to make commands. (i am planning to make a command for every character...
I am trying to make an ability where if the player jumps and then touches the ground again and jumps directly after they get a higher jump. I honestly have no idea how lua works but I tried something. I'm not sure what's the problem so if somebody can point out some issues, I would greatly...
I'm trying to make my own custom particles spawn whenever the player uses their ability but I have no idea how to turn my particles into an object or how to spawn them when the player uses their ability.
So I thought of an idea for a mod that tries to incorporate the Mario Wonder badges into the Mario Bros mod but I ran into a problem, I need help for a way that the player can change their badge and I also need help for the animations. The Mario Bros mod uses a lot of the base game animations...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.