#Execute variable for only 1 person

1 messages · Page 1 of 1 (latest)

narrow perch
#

How do I make a cloud variable only execute for 1 person instead of everyone? I put an if local player should run between a trigger and the variable

dim spoke
narrow perch
#

oh yeah I just checked and yeah event sender that sends for all, completely forgot about it, thanks! I will fix it

#

wait

#

umm

#

I actually don't

dim spoke
#

The event

narrow perch
#

its sends it to all, but it doesen't actually execute the variable, something else before it does

dim spoke
#

Make the audio player synced and don't send event to all

narrow perch
#

after this it executes the variable

#

the play audio at position executes it

dim spoke
narrow perch
dim spoke
narrow perch
#

it already does that, the after delay sends the event and when the event is received it just activates a piston

dim spoke
narrow perch
#

My problem is the variable executes for everyone

#

and I don't know how to fix it

#

There are no events that trigger the variable

#

just interaction volume > if local player should run > a few other chips that don't really matter > execute cloud variable

dim spoke
narrow perch
#

replace the if local player shoudl run with an if player is local?

dim spoke
#

After play audio if player pressed is local if then activate variable

narrow perch
#

ok

#

it fixed it