Make the model bigger, then. It'd be better to make a huge model and scale it to a range of 0.25-0.75 than to make a model too small.
uh, what... The projectile model is empty.dts...
Alright. Here's what I am trying to do with this.
I want a chargeable laser. I have the weapon image set up similarly to the spear.
I store the time the weapon is started charging in the client using getSimTime() as shown in the function below.
function SLCZImage::onCharge(%this, %obj, %slot)
{
%obj.client.saved_time = getSimTime();
}
Then, I use the below function to determine how long the client has been charging the weapon. The bolded part is meant to test how long the client has been charging.
--EPIC SNIP--
The 4 if statements set %scaleFactor to different values depending on how long the client has been charging. half-size for less than a second, 3/4 size for anything above 1.999 seconds, normal scale for 3 seconds, and twice the size at 7 seconds(the projectile is highly destructive).
The scaling works right now, but
Im not checking for how long the mouse button has been held correctly. How else can I test for this?
Apparently I actually AM doing it right; The script is simply skipping the lower scales and jumping straight to 1. Then If I hold it for over 7 seconds it shoots a projectile with scale of 2.