#the repnotify variable?

1 messages · Page 1 of 1 (latest)

boreal viper
#

.

blissful isle
#

okay

#

i see true or false

boreal viper
#

so

#

in true

blissful isle
#

lighton

boreal viper
#

yes

blissful isle
#

fase lightoff

boreal viper
#

yes

#

the default one, M_Camcorder i believe?

#

will be in false

#

and the emissive one will be in true

blissful isle
#

my default

boreal viper
#

then choose this one

blissful isle
#

okay

#

so now i test it

boreal viper
#

show me the select node

blissful isle
boreal viper
#

good, if you want to align the nodes you can select them and press Q

blissful isle
#

okay

boreal viper
#

show me the event

#

this one

blissful isle
boreal viper
#

oh, why did u delete the event?

blissful isle
#

oh

#

lol

#

lemme redo

boreal viper
#

you can add new one with same name

#

It'll fix it

blissful isle
#

a

boreal viper
#

remove this parameter

blissful isle
#

ah okay

boreal viper
#

flashlight on

#

then write "Get flashlight on"

#

then drag from the pin and write "Not bool"

#

then drag and connect it

blissful isle
boreal viper
#

you didn't remove the parameter

blissful isle
#

where

boreal viper
blissful isle
#

ah the input

#

u mean

boreal viper
#

well in blueprints yeah its called input

blissful isle
#

okay

boreal viper
#

dont put any input

blissful isle
#

ah okay

#

so remove A input

boreal viper
#

yes

blissful isle
boreal viper
#

good

#

now

#

drag this variable

#

and connect it to the "not" node

blissful isle
#

okay

boreal viper
#

then connect the output of the "not" node to the "Set flashlight" pin

blissful isle
#

okay

boreal viper
#

remove this

#

instead, get the variable

#

right click

#

and write

#

"get flashlight on"

blissful isle
#

okay

boreal viper
blissful isle
boreal viper
#

good

#

remove this

blissful isle
#

add baranch>?

#

branch*

boreal viper
#

nope

blissful isle
#

okay

boreal viper
#

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

blissful isle
boreal viper
#

good

#

what about the events?

boreal viper
blissful isle
boreal viper
blissful isle
#

okay

boreal viper
#

test it

blissful isle
#

works like a butterfly

#

never tought this way, i tghought io was doing right way but at the end, was just chaos pure xd

#

anyways thanks for helping me actively!