What exactly am i doing wrong

Status
Not open for further replies.

CyanKnight

When the nightmare is endless!!!
I'm trying to make a Bubble throwing script for a chaos wad that I'm porting and i'm trying to make a custom item for said script so instead of a red ring he throws a bubble but it doesn't change the red ring as a whole. Here is the code http://pastebin.com/gG53Bppb
 
Line 23:
local th = P_SpawnMobj(player.mo.x + (1*cos(an)), player.mo.y + (1*sin(an)), player.mo.z+6*FRACUNIT, MT_REDRING)

You're still spawning the Red Ring even though you have your custom object set. Change it to whatever your custom object is.
 
Status
Not open for further replies.

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

Back
Top