Module commit
Module commit.
This commit is contained in:
11
_module/nss/spawn_defcat.nss
Normal file
11
_module/nss/spawn_defcat.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
Spawn an NPC who will fire one of the default "BattleCatapults"
|
||||
|
||||
J.D. Robertson, 2002
|
||||
*/
|
||||
void main()
|
||||
{
|
||||
object catapult = GetNearestObjectByTag("BattleCatapults");
|
||||
if (GetIsObjectValid(catapult))
|
||||
SetLocalObject(OBJECT_SELF, "MyCatapult", catapult);
|
||||
}
|
Reference in New Issue
Block a user