I want to set a macro wherein *everytime* the char sp turns 5% it will warp to a given command
Anyone can help please ?
automacro sp {
sp <= 5%
location prontera
exclusive 1
run-once 1
call {
c @go 0
do move prontera 149 181
do talknpc 150 181 r0 n
pause 2
do talknpc 158 181 r0 n
pause 2
}
}
[Problem]Detecting the condition and execute the commands
Moderator: Moderators
-
- Noob
- Posts: 9
- Joined: 01 Jan 2011, 07:43
- Noob?: No
-
- Plain Yogurt
- Posts: 58
- Joined: 17 Sep 2012, 13:54
- Noob?: Yes
- Location: Sa Puso Mo
Re: [Problem]Detecting the condition and execute the commands
Try this:
PS :
sorry I forgot to add in the last line before the release sp:
Code: Select all
automacro sp {
sp <= 5%
location not prontera
run-once 1
call {
do ai manual
pause 1
c @go 0
pause 1
do move prontera 149 181
pause 1
do talknpc 150 181 r0 n
pause 2
do talknpc 158 181 r0 n
pause 2
release sp
}
}
sorry I forgot to add in the last line before the release sp:
Code: Select all
do ai on