Game Development Community

referencing the player

by mark romero · in Technical Issues · 10/12/2009 (2:46 pm) · 1 replies

recently, i've been trying to do several things to the player(heal, change weapons, change speed, etc.) and recently saw this snippet of code that would make it all easy.

dirk.mountimage(machinegunimage, 0);

the problem is, i am not sure how or where i would name the player dirk. also, if its possible to name him different things, for multiplayer, that would be helpful too. my grasp on torsion code isnt great, so code would be helpful. thanks in advance

#1
10/22/2009 (8:11 am)
Might want to post in a private engine forum. Chances of you getting the answer you are looking for are much greater.