Author Topic: Getting a Projectile Null  (Read 1413 times)

Well, I'm making homming missiles which are about 80% done minus testing. I can't get one thing though...how can I find the null number of a fired projectile? Here, I'll give an example (Minus my code :P) as a modification to the rocket launcher:

Code: [Select]
function rocketLauncherImage::onFire(%this, %obj, %slot)
{
Parent::onFire(%this, %obj, %slot);
Blablabla
mysecrethommingmissilecodeofskillz(%this, %blablabla)
}

Now, in order to...steer the missile, I need the missiles null which should be %this. Except it's not. Anyway I can get the launched projectile's name? :|
« Last Edit: March 07, 2007, 04:14:33 PM by Aloshi »

The position, rotation and velocity of a projectile cannot be changed once it is moving.

Darnit...never mind then. :/

What is you make the bullet a bot shaped like a bullet, and when it hits you you die.