[HELP] using warper npc to the lockMap

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

KurosakIchigO
Noob
Noob
Posts: 3
Joined: 15 Jun 2012, 12:17
Noob?: Yes

[HELP] using warper npc to the lockMap

#1 Post by KurosakIchigO »

hey everyone, i use this macro

automacro warper {
hook AI/lockMap
exclusive 1
call {
do move comodo 197 149
pause 0.5
do talk @npc 206 148
pause 0.5
do talknpc 199 148 c r3 c r32 r1
}
}

to heal and use warper npc to the designated lockmap, which is sphinx2, and my current save map is in comodo. and here's the problem, this macro actually triggered, but the AI didnt commence in talking to both NPC and otherwise tried to walk to sphinx2, so is there something i did wrong in this macro?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: [HELP] using warper npc to the lockMap

#2 Post by EternalHarvest »

You should set "return" in AI/lockmap hook's arguments if you want to cancel default lockMap behaviour. The easiest way is probably to add a support for writing into hook arguments in the macro plugin.