pulceilcane
:)
- 8
- Posts
- 6
- Years
- Sardinia
- Seen Feb 13, 2023
Ok so guys, I created this script to take the player to a designed area with another NPC, the fact is that it works fine until a left turn, whic should be followed by 13 steps to the left by both the player and the npc, but the player is stopped, the npc keeps walking, and at the theorical end of the script the player is not released, so it is stuck
Can anybody help me please?
Here is the script (the highlited part is the one not working
Can anybody help me please?
Here is the script (the highlited part is the one not working
Spoiler:
#dynamic 0x800000
#org @start
lock
spriteface 0x1 0xff
applymovement 0x1 @npc1
waitmovement 0x0
msgbox @t1 0x6
closeonkeypress
applymovement 0x1 @npc2
applymovement 0xff @player2
waitmovement 0x1
applymovement 0x1 @npc3
applymovement 0xff @player3
waitmovement 0x1
applymovement 0xff @player4
applymovement 0x1 @npc4
setvar 0x4014 0x1
[S-HIGHLIGHT]release[/S-HIGHLIGHT]
end
#org @npc1
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @npc2
#raw 0x3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x1
#raw 0xFE
#org @npc3
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x2
#org @npc4
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @player2
#raw 0x3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x1
#raw 0xFE
#org @player3
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x2
[S-HIGHLIGHT]#org @player4
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE[/S-HIGHLIGHT]
#org @t1
= Hi [player], follow me
#org @start
lock
spriteface 0x1 0xff
applymovement 0x1 @npc1
waitmovement 0x0
msgbox @t1 0x6
closeonkeypress
applymovement 0x1 @npc2
applymovement 0xff @player2
waitmovement 0x1
applymovement 0x1 @npc3
applymovement 0xff @player3
waitmovement 0x1
applymovement 0xff @player4
applymovement 0x1 @npc4
setvar 0x4014 0x1
[S-HIGHLIGHT]release[/S-HIGHLIGHT]
end
#org @npc1
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @npc2
#raw 0x3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x1
#raw 0xFE
#org @npc3
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x2
#org @npc4
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @player2
#raw 0x3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x1
#raw 0xFE
#org @player3
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x2
[S-HIGHLIGHT]#org @player4
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE[/S-HIGHLIGHT]
#org @t1
= Hi [player], follow me