UW2_PRC8/_module/nss/ew_follow.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

23 lines
514 B
Plaintext

//::///////////////////////////////////////////////
//:: Emote Wand: Follow pc
//:: onConv emotewand
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: bloodsong
//:://////////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
object oOther = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, oPC);
AssignCommand(oPC, ActionForceFollowObject(oOther, 1.0));
}