Jaysyn904 d835d01649 Continuing dynamic spawn swapover
Continuing dynamic spawn swapover.  Got city exterior done, started on South Coast Road hostile spawns & dynamic bandits.
2021-09-07 22:44:00 -04:00

20 lines
486 B
Plaintext

#include "nw_i0_generic"
void main()
{
string sSpeak = "Finally, I can get off the streets!";
int nVolume = TALKVOLUME_TALK;
int nGoldTillRich = 1500;
object oPickup = GetNearestObject(OBJECT_TYPE_ITEM);
if (oPickup != OBJECT_INVALID)
{
ActionPickUpItem(oPickup);
if (GetGoldPieceValue(oPickup) >= nGoldTillRich)
{
ActionSpeakString(sSpeak,nVolume);
ActivateFleeToExit();
}
}
WalkWayPoints();
}