HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How far can I go without desynching? [camera system]

05-15-2008, 12:13 PM#1
d07.RiV
I suppose I can't do something like that:
Collapse JASS:
..
call TriggerRegisterPlayerEvent (kbdLeftDown, GetLocalPlayer (), EVENT_PLAYER_ARROW_LEFT_DOWN)
..
Or can I?

Then, can I have only one set of camera-related (e.g. current direction) variables for just the local player?

It would be nice if there was a "list" of things you can do inside GetLocalPlayer()==... - like conditions without causing desynch.
05-15-2008, 03:51 PM#2
Captain Griffen
Well...I think that might work...just so long as you don't do anything non-local in the trigger, since it makes the handle for all players.