Areas and Fixes
Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
This commit is contained in:
19
_module/nss/tmp_spawn_usecat.nss
Normal file
19
_module/nss/tmp_spawn_usecat.nss
Normal 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("BattleCatapultlycan");
|
||||
if (GetIsObjectValid(catapult))
|
||||
SetLocalObject(OBJECT_SELF, "MyCatapult", catapult);
|
||||
}
|
Reference in New Issue
Block a user