Spawning objects with player color

Status
Not open for further replies.

HitCoder

Launcher Blaster
How would I make a lua script that spawns an object that is colored with the character's current color?
 
Code:
local object = P_SpawnMobj(whatever, whatever, whatever, whatever)
object.color = player.mo.color
 
Status
Not open for further replies.

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

Back
Top