This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ACF_DecoyGun extends UTWeapon; | |
/************************************************************************************ | |
* States | |
***********************************************************************************/ | |
var() class<ACF_Bot> BotClass; | |
var() bool Spawned; | |
simulated function InstantFire() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ACF_Bot extends ACF_Pawn; | |
/************************************************************************************ | |
* Bot Globals | |
***********************************************************************************/ | |
var int TeamNumber; | |
var() float BotSpawnTime; | |
var() bool StayAlive; | |
var ParticleSystem ProjExplosionTemplate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Author: Raúl Roa | |
Date : 4/16/2013 | |
]] | |
--[[ GLOBALS ]] | |
--[[ Time Management ]] | |
timeSteps = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (!Event.prototype.preventDefault) { | |
Event.prototype.preventDefault=function() { | |
this.returnValue=false; | |
}; | |
} | |
if (!Event.prototype.stopPropagation) { | |
Event.prototype.stopPropagation=function() { | |
this.cancelBubble=true; | |
}; |