#NPC (easy!)
18 messages · Page 1 of 1 (latest)
Jesus bro 🙏
Mine won’t stop shaking 🙁
there needs to be 2 triggers, one for turning one for walking
a bit confused, its sliding to the right ad backwards.
pivot
ooh
MUL R2 DeltaTime 2
SIN R0 grp1.Rot.Y
COS R1 grp1.Rot.Y
MUL R0 R0 R2
MUL R1 R1 R2
ADD grp1.Pos.X grp1.Pos.X R0
ADD grp1.Pos.Z grp1.Pos.Z R1
SLEEP 0
IF trg1.Trg.Active rotate
SLEEP 0
GOTO loop
LABEL rotate
RAND grp1.Rot.Y 360
SLEEP 0
GOTO loop```
i’m pretty sure i made this correctly (combined them into 1 code block) but i could’ve made it wrong