mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Merge remote-tracking branch 'gg/development-3.6' into development
Conflicts: Engine/source/T3D/gameFunctions.cpp
This commit is contained in:
commit
014b566014
29 changed files with 252 additions and 129 deletions
|
|
@ -212,7 +212,10 @@ function AIPlayer::singleShot(%this)
|
|||
// The shooting delay is used to pulse the trigger
|
||||
%this.setImageTrigger(0, true);
|
||||
%this.setImageTrigger(0, false);
|
||||
%this.trigger = %this.schedule(%this.shootingDelay, singleShot);
|
||||
%delay = %this.getDataBlock().shootingDelay;
|
||||
if (%delay $= "")
|
||||
%delay = 1000;
|
||||
%this.trigger = %this.schedule(%delay, singleShot);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue