Initial Upload
Initial Upload
This commit is contained in:
22
_module/nss/olina_ball_spawn.nss
Normal file
22
_module/nss/olina_ball_spawn.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetItemPossessedBy(oPC, "olinasball")!= OBJECT_INVALID)
|
||||
{
|
||||
string oDeny="You search and search, but find nothing....";
|
||||
SendMessageToPC(oPC, oDeny);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
oTarget = GetWaypointByTag("wp_olina_ball");
|
||||
oSpawn = CreateObject(OBJECT_TYPE_ITEM, "olinasball", GetLocation(oTarget));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user