rongmauhong Posted September 28, 2018 Posted September 28, 2018 (edited) Hello, I use unitwarp .GID,"prontera",154,176; in the script below but it doesn't work - script spawn_test -1,{ end; OnTest: monster "prontera",154,175,"--ja--",1026,1,strnpcinfo(3)+"::OnMyMobDead"; .GID = $@mobid[0]; initnpctimer; end; OnTimer5000: if (unitexists(.GID) == 0) { stopnpctimer; end; } unitwarp .GID,"prontera",154,176; initnpctimer; end; OnMyMobDead: end; OnInit: bindatcmd "test",strnpcinfo(0)+"::OnTest",99,99; end; } Thanks Edited September 28, 2018 by rongmauhong Quote
0 rongmauhong Posted September 28, 2018 Author Posted September 28, 2018 2 hours ago, Hyroshima said: is working! (@test) thanks, does this line work? unitwarp .GID,"prontera",154,176; Quote
0 Hyroshima Posted September 28, 2018 Posted September 28, 2018 Yes, everything worked correctly. Quote
Question
rongmauhong
Hello,
I use
unitwarp .GID,"prontera",154,176;
in the script below but it doesn't work
- script spawn_test -1,{ end; OnTest: monster "prontera",154,175,"--ja--",1026,1,strnpcinfo(3)+"::OnMyMobDead"; .GID = $@mobid[0]; initnpctimer; end; OnTimer5000: if (unitexists(.GID) == 0) { stopnpctimer; end; } unitwarp .GID,"prontera",154,176; initnpctimer; end; OnMyMobDead: end; OnInit: bindatcmd "test",strnpcinfo(0)+"::OnTest",99,99; end; }
Thanks
Edited by rongmauhong3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.