Initial commit
Initial commit [v9.7]
This commit is contained in:
25
_module/nss/thrd_trentor_1.nss
Normal file
25
_module/nss/thrd_trentor_1.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Give 5 experience (to party) to the PC.
|
||||
GiveXPToAll(oPC, 5);
|
||||
|
||||
SetLocalString(oPC, "trentor", "1");
|
||||
|
||||
FadeToBlack(oPC);
|
||||
FadeFromBlack(oPC);
|
||||
|
||||
// Spawn "trentor".
|
||||
oTarget = GetWaypointByTag("WP_SPn_trentor");
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "trentor", GetLocation(oTarget));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user