Fire On True (LogiXノード)
Fire On True | ||
---|---|---|
Inputs | ||
Bool | Condition | |
User | OnlyForUser | |
Outputs | ||
Impulse | Pulse |
Fire On Trueノードは、入力の Condition
が True になると、インパルスを出力します。
使用方法
インパルスが出力された後、追加のインパルスを出力する前に、Condition
をまずFalseにリセットする必要があります。
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:
- If a User is specified in the
OnlyForUser
only fire for this user. - 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.
- Otherwise fire for all users.
Do not use Local User with this node. It will cause the node to fire for all users. Use Local Fire On True instead.
It is recommended to specify a user at OnlyForUser
to ensure that the user for whom the impulse fires is predictable.
It is recommended to specify a user at OnlyForUser
to ensure that the user for whom the impulse fires is predictable.
Note that this node will only fire one impulse in the event that Condition
becomes True multiple times within a single impulse chain. Similarly this node will not fire an impulse if the Condition
becomes True and then reset to False within a single impulse chain.
Color | Label | Type |
Pulse | Impulse |
Usage
ImpulsesはOnlyForUserで入力されたユーザーに対してのみ発火し、そのユーザーのインスタンスでConditionがTrueになったときのみ発火します。ユーザーが定義されていない場合は、すべてのユーザーに対してインパルスが発生します。Conditionのデフォルト値はFalseです。