In need of a little coding assistance


Attempting to have my character walk from the side of zone 1 to a spot in zone 2 with the camera following her.

Anyone know how to fix the error?

Edit: Just realised I clipped the wrong warning oops.

image
This error. ^^

2 Likes

You can’t make a character enter from a side to a spot in a zone: it doesn’t work. You can only enter from a side to an allocated spot on screen.

E.g.

&AMELIE enters left to screen center

I’d suggest you spot the character off the screen from zone 1 and have them walk to their spot in zone 2, timing the pan from zone 1 to zone 2.

E.g.

&AMELIE spot 2.027 -50 -366 in zone 1
&AMELIE walks to spot 2.027 148 -366 in zone 2 in (how many seconds)
@pan to zone 2 in (how many seconds)

Adjust the pan timing and speed of Amelie walking, accordingly. You can also determine the type of walking Amelie does, while walking to the spot.

E.g.

&AMELIE walks to spot 2.027 148 -366 in zone 2 in (how many seconds) and AMELIE does it while walk_neutral_loop

Hope this helps! :grinning:

1 Like

Thankyou!

2 Likes

You’re missing the word “spot” on line 2370, and remove the zone. You can’t add the zone with an “enters” command.

No worries. I hope it works for you :slightly_smiling_face:

Yes you can. The command is:

@CHAR enters from left/right to spot % x y

You just can’t add the zone to an enters command

3 Likes

Oh. This is how I usually script this kind of thing.

1 Like