Executor
I see you
- Reaction score
- 57
Hi,
for ex.:
I want to check whether a player is looking at this position, but as GetCamera... is a local function this condition will return different values for every client and code launched in the "then" section will maybe cause desyncs.
sth. like this:
Furthermore I'd like to store the camera data in global vars for everyone.
for ex.:
JASS:
GetCameraTargetPositionX() == 500.
I want to check whether a player is looking at this position, but as GetCamera... is a local function this condition will return different values for every client and code launched in the "then" section will maybe cause desyncs.
sth. like this:
JASS:
if GetCameraTargetPositionX(Player(0)) == 500. then
call BJDebugMsg("Hey ALL, Player 1 is evil")
endif
Furthermore I'd like to store the camera data in global vars for everyone.