addPublicVariableEventHandler – Talk

From Bohemia Interactive Community
Revision as of 16:01, 8 October 2009 by Miika Jarvinen (talk | contribs)
Jump to navigation Jump to search

So this seems like we can remove many server side loops waiting for a publicVariable to change right?

If true can someone submit more examples?


Yes, exactly. But as said, if the variable is pV'ed from the server, the EH won't trigger there. What examples do you want? --raedor 11:33, 22 December 2007 (CET)

Actually, that depends on latency or something. It's possible to get one PV (well, 2 basically as it's one per machine) to fire EH on both server and client. Easy to repro with one simple radio trigger. --Shuko 16:01, 8 October 2009 (CEST)