P_Attract Lua

P_Attract Lua v1

luigi budd

luigi butt
luigi budd submitted a new resource:

P_Attract Lua - Easy function to pull stuff towards you!

Global P_Attract function for lua!

Simply copy the code inside into a script, and use P_LookForPlayers before P_AttractLua!

Lua:
//pull rings towards us when we're close enough
//Example script inside the file to show off P_AttractLua
//Actual function is inside the download file
addHook("MobjThinker", function(mobj)
    if (mobj.type == MT_RING)
    //ringslinger rings
    or ((mobj.type == MT_BOUNCERING) or (mobj.type == MT_RAILRING))
    or ((mobj.type == MT_INFINITYRING) or...

Read more about this resource...
 

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

Back
Top