You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logic_relay outputs like OnTrigger and OnUserX do not properly forward the caller entity to the !caller target. Instead, the !caller target points to the relay itself. The !self and !activator targets work fine by the way.
A possible workaround for entities spawned via tables, if you don't care about the real activator, is to inject the real caller in the activator parameter of EntFire:
Take a step backwards then press the button (turn on picker mode if you can't find the invisible button). When you press it, you will see "Failure" instead of "Success!" in the console.
The text was updated successfully, but these errors were encountered:
Description
logic_relay
outputs likeOnTrigger
andOnUserX
do not properly forward the caller entity to the!caller
target. Instead, the!caller
target points to the relay itself. The!self
and!activator
targets work fine by the way.A possible workaround for entities spawned via tables, if you don't care about the real activator, is to inject the real caller in the activator parameter of
EntFire
:Reproduction steps
script_execute
the script below:Take a step backwards then press the button (turn on picker mode if you can't find the invisible button). When you press it, you will see "Failure" instead of "Success!" in the console.
The text was updated successfully, but these errors were encountered: