rongmauhong Posted September 28, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 11/17/17 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
0 rongmauhong Posted September 28, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 11/17/17 Last Seen: March 20 Author Share Posted September 28, 2018 2 hours ago, Hyroshima said: is working! (@test) thanks, does this line work? unitwarp .GID,"prontera",154,176; Quote Link to comment Share on other sites More sharing options...
0 Hyroshima Posted September 28, 2018 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 189 Reputation: 122 Joined: 07/11/14 Last Seen: November 27, 2024 Share Posted September 28, 2018 is working! (@test) Quote Link to comment Share on other sites More sharing options...
0 Hyroshima Posted September 28, 2018 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 189 Reputation: 122 Joined: 07/11/14 Last Seen: November 27, 2024 Share Posted September 28, 2018 Yes, everything worked correctly. Quote Link to comment Share on other sites More sharing options...
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 rongmauhongLink to comment
Share on other sites
3 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.