Lankhmar_PRC8/_module/nss/thello_walk_away.nss

38 lines
742 B
Plaintext
Raw Normal View History

2025-04-03 12:54:47 -04:00
/*Script created by Phoenix for BG module: Old Man(OM,om) walks way from PC.*/
//Put the script on the actions taken tab in conver.
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = GetObjectByTag("CaldThello");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_SPn_Cald")));
oTarget = GetObjectByTag("CaldThello");
int nInt;
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("CaldThello");
DestroyObject(oTarget, 3.0);
oTarget = GetObjectByTag("LankhmarGuard2");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_SPn_Cald")));
oTarget = GetObjectByTag("LankhmarGuard2");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("LankhmarGuard2");
DestroyObject(oTarget, 3.0);
}