Community Forum

Player Variable Node

Forum Overview >> Scripting

Created07.03.2011 15:19

Marvin P. (Unknown) 07.03.2011 15:22
I´m seraching for the Player-Variable, maybe somebody know it.
I want to have the X,Y,Z Value....
I think it must look like this:

local PlayerX, PlayerY, PlayerZ = getWorldTranslation("self.Player-Variable");

Tobias F (JD6930) 07.03.2011 17:25
local PlayerX, PlayerY, PlayerZ = getWorldTranslation(g_currentMission.player.rootNode);


Note: Log in to post. Create a new account here.