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,21 @@
/**
use_catapult
OnUsed: Fire a catapult burst
J.D. Robertson, 2002
*/
#include "i_battle"
void main()
{
if (!GetLocalInt(OBJECT_SELF, "Loading"))
{
FireCatapult();
// Delay the next firing. Rapid fire catapults are a lot of fun (an
// insane amount of fun actually, take these lines out and try it)
// but not too realistic
SetLocalInt(OBJECT_SELF, "Loading", TRUE);
DelayCommand(5.0, SetLocalInt(OBJECT_SELF, "Loading", FALSE));
}
}