HitCoder Launcher Blaster Mar 23, 2014 #1 How would I make a lua script that spawns an object that is colored with the character's current color?
How would I make a lua script that spawns an object that is colored with the character's current color?
fickleheart ms reflec beat stan Mar 23, 2014 #2 Code: local object = P_SpawnMobj(whatever, whatever, whatever, whatever) object.color = player.mo.color
Code: local object = P_SpawnMobj(whatever, whatever, whatever, whatever) object.color = player.mo.color