hello dear
i want to write macro;
my char will check location and if he will in the prontera move 140 120 coordinate and talk 1 npc and change location;
Automacro prontera {
map Prontera
call test
}
macro test {
do ai manual
location prontera
move 140 120
do talk 1
do talk resp 1
location xxx
release prontera
stop
}
What is the wrong it is not work can u help me
help about my macro
Moderator: Moderators
Re: help about my macro
macro plugin use case senvitive
so...
so...
Code: Select all
Automacro prontera { <- automacro
map Prontera <- prontera
call test
}
macro test {
do ai manual
location prontera <- location is condition for automacro
move 140 120 <- where do command?
do talk 1
do talk resp 1
location xxx <- again use location wrong
release prontera
stop
}
Re: help about my macro
i wrote true version but it is not work giving error syntax
Automacro prontera { <- automacro
map Prontera <- prontera
call test
}
macro test {
do ai manual
location 110 110 (example)
move 140 120 prontera
do talk 1
do talk resp 1
location geffen (example)
release prontera
stop
}
Automacro prontera { <- automacro
map Prontera <- prontera
call test
}
macro test {
do ai manual
location 110 110 (example)
move 140 120 prontera
do talk 1
do talk resp 1
location geffen (example)
release prontera
stop
}
Re: help about my macro
I used <- to signal what's wrong
Code: Select all
automacro prontera {
run-once 1 #without this your macro trigger infinity
map prontera
call test
}
macro test {
do ai manual
do move 140 120 prontera
do talk 1
do talk resp 1
release prontera
stop
}
Re: help about my macro
what did u write at ur config for work macro?
Re: help about my macro
for this macro you don't need write anything in your config.txt.
Add macro plugin in your folder plugins add this macro in macro.txt when your bot stay in prontera the macro trigger.
Add macro plugin in your folder plugins add this macro in macro.txt when your bot stay in prontera the macro trigger.
Re: help about my macro
i will try i hope it is working