Problem with a catapult game.

Game Editor comments and discussion.

Problem with a catapult game.

Postby Sgt. Sparky » Mon Dec 04, 2006 9:42 pm

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.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Sgt. Sparky » Mon Dec 04, 2006 10:20 pm

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
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest