Module commit

Module commit.
This commit is contained in:
Jaysyn904
2024-06-14 10:48:20 -04:00
parent 079830314c
commit f5ffe7d0b9
11110 changed files with 4747686 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/**
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);
}