#how would i make a blinking mechanic that allows something, that when seen, cannot move, to move?

1 messages · Page 1 of 1 (latest)

ebon plover
#

hi, help pls and ty :D
AI based movement script btw

grizzled breach
#

Ok

ebon plover
carmine pulsar
#

Use a finite state machine to control the AI. When the player blinks, you raise a flag that triggers the movement state

woeful mountain
#

i used them for my scp 173 demo

#

ok

#

so

#

"game.Workspace.CurrentCamera:WorldToViewportPoint"

#

i believe this checks if its on screen

#

and

#

"game.Workspace.CurrentCamera:GetPartsObscuringTarget"

#

check that the obscuring is 0 and that it can be seen

#

then make a return statement saying "if blinking then return false end"