Page 1 of 1

Problem with a catapult game.

PostPosted: Mon Dec 04, 2006 9:42 pm
by Sgt. Sparky
yo, i have a problem with this catapult game im making.
i have these "angletext" and "velocitytext" actors that can be adjusted with the arrow keys. on the "create actor event" of the rock the script is
Code: Select all
angle = angletext.textNumber;
directional_velocity = velocitytext.textNumber;

and also on the create actor event it changes the view actors parent to the rock.
it works good. and i have max textNumber stuff so the angle can only be at lowest 0 and the velocity is at highest 60.
but the rock after about 5seconds of being in the air the rock will all the suddenly go "voom!" away from the view actor.
This makes me very mad.
the rock blows up though and that is the only fun part.

PostPosted: Mon Dec 04, 2006 10:20 pm
by Sgt. Sparky
heehee, I have figured out that the prob is with the catapult, so i made the rock on the draw actor event disable all the events for the catapult, and when the rock blows up it enables all the catapults events. :D