- 4
- Posts
- 12
- Years
- Seen Jan 7, 2015
So im trying to set up custom trainer battles
and the script works when i have it so that
you have to talk to the NPC to start the script/battle,
but if i set a view radius in advance map so that they
approach the player, i get what happens in the attached screenshot
here is the script im using to make the trainer work:
#dynamic 0x800000
#org @begin
lock
trainerbattle 0x0 0x2AA 0x0 @challenge @win
msgbox @after MSG_NORMAL '"Only pimps have plastic bags!"
end
'---------
' Strings
'---------
#org @challenge
= Hey someone got in!\nTime to show em how i pimp!
#org @win
= The Guys ahead of me are a lot\nstronger!
#org @after
= Only pimps have plastic bags!
So what could be causing this issue and how do i fix it?
and the script works when i have it so that
you have to talk to the NPC to start the script/battle,
but if i set a view radius in advance map so that they
approach the player, i get what happens in the attached screenshot
here is the script im using to make the trainer work:
#dynamic 0x800000
#org @begin
lock
trainerbattle 0x0 0x2AA 0x0 @challenge @win
msgbox @after MSG_NORMAL '"Only pimps have plastic bags!"
end
'---------
' Strings
'---------
#org @challenge
= Hey someone got in!\nTime to show em how i pimp!
#org @win
= The Guys ahead of me are a lot\nstronger!
#org @after
= Only pimps have plastic bags!
So what could be causing this issue and how do i fix it?