PLEASE HELP slight problem with my script i cant figure out!
by Karl Cooper · in Torque Game Builder · 04/05/2011 (8:23 am) · 1 replies
Hello,
i know i'm new to this forum, but i would really really appreciate it if someone could correct my script. I've been trying for hours now just to do this one little thing.
link to my file:
http://www.supportingdalitchildren.com/game.zip
Basically my game will run and the end level (displaying game over) SHOULD be shown when the time limit reaches zero OR when you run out of life.
The game over screen is only shown when the time reaches zero, i cant get it to end when the life reaches zero.
The part of script you want is located in game/gamescripts/player.cs near the bottom.
TO ACCESS THE PLAYER.CS FILE STRAIGHT:
http://www.supportingdalitchildren.com/player.cs
Please help me, ill be so appreciative, maybe even a bit of money
Thanks ever so much
Karl
i know i'm new to this forum, but i would really really appreciate it if someone could correct my script. I've been trying for hours now just to do this one little thing.
link to my file:
http://www.supportingdalitchildren.com/game.zip
Basically my game will run and the end level (displaying game over) SHOULD be shown when the time limit reaches zero OR when you run out of life.
The game over screen is only shown when the time reaches zero, i cant get it to end when the life reaches zero.
The part of script you want is located in game/gamescripts/player.cs near the bottom.
TO ACCESS THE PLAYER.CS FILE STRAIGHT:
http://www.supportingdalitchildren.com/player.cs
Please help me, ill be so appreciative, maybe even a bit of money
Thanks ever so much
Karl
Torque 3D Owner Oswaldo C. Filho
function Player::explode(%this) #96.
You forgot the ";" at the end of the creation of t2dParticleEffect:
%t2dParticleEffect explosion = new () { this.scenegraph scenegraph =%; }; <<<<<<att,
Oswaldo