#NPC (easy!)

18 messages · Page 1 of 1 (latest)

sinful nacelle
#

FIRST CODE:

IF trg1.Trg.Active rotate
SLEEP 0
GOTO loop
LABEL rotate
RAND grp1.Rot.Y 360
SLEEP 0
GOTO loop```


SECOND CODE
```LABEL loop
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
GOTO loop```
onyx pulsar
#

Jesus bro 🙏

polar raven
sinful nacelle
#

let me see

#

everything

sinful nacelle
#

there needs to be 2 triggers, one for turning one for walking

polar raven
#

Ohhhhhhhhhhh witch is witch

#

Actually doesn’t matter

onyx pulsar
#

a bit confused, its sliding to the right ad backwards.

onyx pulsar
#

ooh

onyx pulsar
#

now its only going forwards-

#

could you show whats connected to what

crude rapids
#
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