#how would i make a blinking mechanic that allows something, that when seen, cannot move, to move?
1 messages · Page 1 of 1 (latest)
Ok
Very helpful thankyou 😭
Use a finite state machine to control the AI. When the player blinks, you raise a flag that triggers the movement state
there is a specific set of functions you can use
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"