addPublicVariableEventHandler – Talk
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
: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? --[[User:Raedor|raedor]] 11:33, 22 December 2007 (CET) | :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? --[[User:Raedor|raedor]] 11:33, 22 December 2007 (CET) | ||
It's possible to get one PV (f.ex a trigger's onAct field) to fire EH on both server and client. Well, it's basically 2 PVs as it's one per machine. The EH will fire even if the received value is the same as set locally. --[[User:Shuko|Shuko]] 16:01, 8 October 2009 (CEST) | |||
---- | |||
It is unclear whether ''_this select 1'' has been passed by reference or value. [[User:Mr.Peanut|Mr.Peanut]] 14:17, 16 July 2010 (CEST) | |||
---- |
Latest revision as of 13:17, 16 July 2010
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)
It's possible to get one PV (f.ex a trigger's onAct field) to fire EH on both server and client. Well, it's basically 2 PVs as it's one per machine. The EH will fire even if the received value is the same as set locally. --Shuko 16:01, 8 October 2009 (CEST)
It is unclear whether _this select 1 has been passed by reference or value. Mr.Peanut 14:17, 16 July 2010 (CEST)