#the repnotify variable?
1 messages · Page 1 of 1 (latest)
lighton
yes
fase lightoff
yes
the default one, M_Camcorder i believe?
will be in false
and the emissive one will be in true
my default
then choose this one
show me the select node
good, if you want to align the nodes you can select them and press Q
okay
oh, why did u delete the event?
remove this parameter
ah okay
flashlight on
then write "Get flashlight on"
then drag from the pin and write "Not bool"
then drag and connect it
you didn't remove the parameter
where
well in blueprints yeah its called input
dont put any input
yes
okay
then connect the output of the "not" node to the "Set flashlight" pin
remove this
instead, get the variable
right click
and write
"get flashlight on"
okay
nope
okay
this will call the server RPC, the server will check what is the current value of the flashlight boolean? if its true then it will set it to false
then the clients will receive update -> Flashlighton_OnRep called
now show me the events and the flashlighton_OnRep
this one
okay
test it