Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:IsLocalUser

The Is Local User node returns if the user is the local user.
(Redirected from ProtoFlux:Is Local User)
Is Local User
User
*
Status

The Is Local User node returns if the user executing the ProtoFlux is the given user. This can be combined with nodes like UserFromID or GetActiveUserSelf to make a piece of ProtoFlux evaluate differently based on who the evaluator is, for example to hide a HUD from everyone but a certain user, to prevent everyone but a certain user from executing a certain piece of code, or to make some effect that runs on every user not affect a certain user.

Inputs

User (User)

A user in the session.

Outputs

* (bool)

Whether or not the provided user is the one executing the ProtoFlux or not.