Author Topic: Weapon not firing any projectile???  (Read 2430 times)

The thread is called plant, not plantBrick

Code: [Select]
%obj.playThread(2, plant);
Example Code
Weapon State
Code: [Select]
stateName[#] = "Reload";
stateSequence[#]                = "Reload";
stateScript[#]                  = "onReload";
stateTimeoutValue[#]            = 1.00;
stateTransitionOnTimeout[#]     = "Ready";

On Load
Code: [Select]
function YourGunImage::onReload(%this,%obj,%slot)
{
%obj.playThread(2, plant);
}