Initial commit
Initial commit [v9.7]
This commit is contained in:
23
_module/nss/walk_away_lorili.nss
Normal file
23
_module/nss/walk_away_lorili.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
int nInt;
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Give 5 experience (to party) to the PC.
|
||||
GiveXPToAll(oPC, 5);
|
||||
|
||||
oTarget = GetObjectByTag("Lorili");
|
||||
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Lorili")));
|
||||
|
||||
oTarget = GetObjectByTag("Lorili");
|
||||
nInt = GetObjectType(oTarget);
|
||||
oTarget = GetObjectByTag("Lorili");
|
||||
DestroyObject(oTarget, 3.0);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user