I'l like to request a getdirection npc command.... for example...
prontera,101,101,2 script DirectionGet 100,{
//Variables
set .rid, getcharid(3);
set .gid, bg_monster(.@group,"prontera",101,101,"Poringz0rd",1002,"");
set .npc$, "OtherNPC";
mes ""+ getdirection(.gid); //Would return the monsters direction. 0-7
mes ""+ getdirection(.rid); //Would return the players direction. 0-7
mes ""+ getdirection(); //Would return 2 the npcs direction...
mes ""+ getdirection(.npc$); //Would return the other npcs direction.
end;
}
It would return the value of direction.
I think this can be done easily from source with...
unit_getdir()
.. But i'm not sure how to make new npc commands...
Question
Skorm
I'l like to request a getdirection npc command.... for example...
It would return the value of direction.
I think this can be done easily from source with...
.. But i'm not sure how to make new npc commands...
Edited by Skormtytyty!!
Link to comment
Share on other sites
4 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.