Aschbourne_PRC8/_module/tmp_spawn_usecav.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

20 lines
653 B
Plaintext

/**
Use this template to create an NPC OnSpawn script for a NPC
which will fire a catapult during a battle sequence.
YOU WILL NEED A VERSION OF THIS SCRIPT FOR EACH CATAPULT TYPE
(EACH UNIQUE TAG) YOU WISH TO FIRE DURING THE BATTLE. BE CAREFUL
TO MATCH THE CORRECT SCRIPT TO THE CORRECT NPC. USE "Save As"
TO QUICKLY COPY SCRIPTS.
J.D. Robertson, 2002
*/
void main()
{
// TODO: Replace "CATAPULT_TAG" with the tag of the catapult you
// are fireing
object catapult = GetNearestObjectByTag("BattleCatapultvamp");
if (GetIsObjectValid(catapult))
SetLocalObject(OBJECT_SELF, "MyCatapult", catapult);
}