3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: How can i do it?  (Read 209 times)

« on: March 17, 2014, 10:27:33 AM »

Hi,
I want to Automatically start (trigged) Projectile object after every five second Continuously.
Please see the image to clearly guess what i want.

A lot of thanks advance.
« Reply #1 on: March 18, 2014, 07:44:36 AM »
You could script it, or you could use the built in functions of 3DRad - namely the Event Timer ( http://3drad.com/EventTimer.php ) and the Projectile ( http://3drad.com/Projectile.php )
« Reply #2 on: March 18, 2014, 10:35:47 AM »
Is it possible? ??? ???
« Reply #3 on: March 18, 2014, 12:46:01 PM »
in the projectile HELP it states 2 key things you have to grasp...

1 - Projectile lifetime
Time, in seconds, after which a RigidBody bullet gets re-usable, after it has been shot.

2 - The shooting action is performed as soon as the Projectile object is started by another object (like EventOnInput) or by a Script.

so...

add a projectile... link it to a rb (or other physics thing you wanna move) and set it as the projectile...
set 5 in the lifetime property...
add a script object.. link it to the projectile...  one line in it that starts the projectile object...

Code: [Select]
void Main()
{
   iObjectStart(OBJ_0);
}

it's as simple as that... the thing will fire each time the lifetime is up...

--Mike
« Reply #4 on: March 19, 2014, 01:14:08 AM »
thanks a lot. it work nice...
« Reply #5 on: March 19, 2014, 11:36:59 AM »
you're welcome... you could've figured that out yourself if you read the help files, and based on what you've read do a lil experimenting...

the help files have a lot of info about each of the objects...

good luck..

--Mike

Pages: [1]