Template:FireOnUserHandling: Difference between revisions

Template page
imported>Aesc
Marked this version for translation
 
m Remove node in protoflux links.
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


<!--T:2-->
<!--T:2-->
'''Do not use [[Local_User_(LogiX_node)|Local User]] with this node. It will cause the node to fire for all users. Use {{{TargetPage}}} instead.'''
'''Do not use [[Local User (ProtoFlux)|Local User]] with this node. It will cause the node to fire for all users. Use {{{TargetPage}}} instead.'''


<!--T:3-->
<!--T:3-->
It is recommended to specify a user at <code>OnlyForUser</code> to ensure that the user for whom the impulse fires is predictable.
It is recommended to specify a user at <code>OnlyForUser</code> to ensure that the user for whom the impulse fires is predictable.
<noinclude></translate></noinclude>
<noinclude></translate></noinclude>

Latest revision as of 01:50, 14 January 2024


User Handling

The second input to this node, OnlyForUser, exists to control which users fire the impulse when the Condition is met/changed. Its handling is as follows:

  1. If a User is specified in the OnlyForUser only fire for this user.
  2. If a User is not specified BUT the Node exists parented to a User then fire for the user it is parented to. This usually happens on avatars.
  3. Otherwise fire for all users.

Do not use Local User with this node. It will cause the node to fire for all users. Use {{{TargetPage}}} instead.

It is recommended to specify a user at OnlyForUser to ensure that the user for whom the impulse fires is predictable.