MotdSpork
Mafia? Zombies? Gold spork?
So im trying to spawn an object directly behind the player using Lua (regardless of the direction the player is facing) I'm using the function
P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z + 15*FRACUNIT, MT_"insertobjectnamehere")
although...i dont know how to make is spawn..behind the player like i need it to, any help would be much appreciated.
P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z + 15*FRACUNIT, MT_"insertobjectnamehere")
although...i dont know how to make is spawn..behind the player like i need it to, any help would be much appreciated.