Blockland Forums > Modification Help
Rp Tool Problems.
Wheatley:
This has always been my best way to fix something:
reference the differences between a script that has your same problem, and one that works fine.
eddierocks2000:
Help me please.
Xalos:
I'm a little late, but since Iban's been, well, banned...
--- Code: ---function [ImageName]::onFire(%this, %obj, %slot)
{
Parent::onFire(%this, %obj, %slot);
%obj.playThread(2, "armAttack");
}
function [ImageName]::onStopFire(%this, %obj, %slot)
{
%obj.playThread(2, "root");
}
--- End code ---
For example, for the sword this would be SwordImage::onFire and SwordImage::onStopFire.