Blockland Forums > Modification Help
Vectors and Velocities
Midway Sentinel:
what would the complete script with function::onFire stuff look like?
Headcrab Zombie:
Taking a guess on the arguments, they may not be correct :
--- Code: ---function WeaponImage::onFire(%this,%obj,%slot)
{
%obj.setVelocity("0 0 20");
}
--- End code ---
Change WeaponImage to the image name of your weapon
Launching them straight up will look kind of wierd, especially if you shoot straight up.
Midway Sentinel:
thanks, you're a lifesaver
Uxie:
Hey, this helps me too.