I have an instance that is working perfectly, my only problem is that when i do instance_warpall "map",x,y; it doesn't work and the players have to manually warp there. Is there any problem with my code heres a part of it..
if (getcharid(1) != 0 )
{
set .@instance, instance_create("Lunette Storyline", getcharid(1));
if (.@instance < 0)
{
mes "Failed to create instance, contact Admin Player";
close;
}
if (instance_attachmap("wald_in", .@instance, 1) == "")
{
instance_destroy(.@instance);
mes "Failed to create instance, contact Admin Player";
close;
}
if (instance_check_party(getcharid(1), 1, 69, 150))
{
instance_attach(.@instance);
instance_set_timeout(3600, 300, .@instance);
instance_init(.@instance);
instance_warpall "wald_in",47,49;
end;
}
else {........................
if i change instance_warpall to warp it works perfectly but only the player who talked to the npc is warped.
Question
luisdgs19
I have an instance that is working perfectly, my only problem is that when i do instance_warpall "map",x,y; it doesn't work and the players have to manually warp there. Is there any problem with my code heres a part of it..
if i change instance_warpall to warp it works perfectly but only the player who talked to the npc is warped.
Edited by luisdgs191 answer 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.