• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

LeoTheHedgehog12's Bargain Bin

Lua:
addHook("SpinSpecial", function(p)
    if p.mo and p.mo.valid and p.mo.skin == "name" then
        if (p.pflags & PF_USEDOWN) then
            if not p.weapondelay then
                p.random = P_RandomRange(1, 20)
                if p.random < 10 then
                    P_InstaThrust(p.mo, p.mo.angle, 50*FRACUNIT)
                    p.weapondelay = TICRATE
                end
            end
        end
    end
end)
I'm having trouble making this function correctly.
It keeps rolling under 10 and never rolls over 10.
 
Lua:
addHook("SpinSpecial", function(p)
    if p.mo and p.mo.valid and p.mo.skin == "name" then
        if (p.pflags & PF_USEDOWN) then
            if not p.weapondelay then
                p.random = P_RandomRange(1, 20)
                if p.random < 10 then
                    P_InstaThrust(p.mo, p.mo.angle, 50*FRACUNIT)
                    p.weapondelay = TICRATE
                end
            end
        end
    end
end)
I'm having trouble making this function correctly.
It keeps rolling under 10 and never rolls over 10.
also, to clarify, please don't use AI to fix it. I don't want no nasty AI in my code
 
It truly is but its still really Fun to Just make random abilities when you want Just needing to fix a Lil bit
OK? That doesn't change that I don't like it? I can make the abilities myself, I just need help fixing them up without AI. Cause basically whenever you use AI you just steal hundreds of people's work and I don't like that. Please stop trying to argue in my thread just because I asked people not to use AI to fix my code.
 
OK? That doesn't change that I don't like it? I can make the abilities myself, I just need help fixing them up without AI. Cause basically whenever you use AI you just steal hundreds of people's work and I don't like that. Please stop trying to argue in my thread just because I asked people not to use AI to fix my code.
im not trying to force anyone into using aí tô help ir whatever Bro im just saying that its Fun to use ai to make mods not tô send it tô The públic but to play the game with the abilities you want bro
 
OK? That doesn't change that I don't like it? I can make the abilities myself, I just need help fixing them up without AI. Cause basically whenever you use AI you just steal hundreds of people's work and I don't like that. Please stop trying to argue in my thread just because I asked people not to use AI to fix my code.
nobdy was tryin start anything bro? take a fucking chill pill dude.
 
uh i didnt argue on anything
You were trying to argue the case of AI by pushing "it's just fun" "I'm not publishing the code", etc, etc, and you were trying to put AI in a good light in a thread entirely unrelated to it just because I asked people not to use it for my code.
 
I was just asking him to stop trying to argue the case of AI on my thread, and telling my stance on it. I didn't say anything wrong.
I legit said nobody was trying to argue and you kept on. NOBODY IS ARGUING or FOrcing you to use ai code bro 💀
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top