Ok, basically I'm aiming for two projectiles to be fired in opposite vectors when the player enters a specific sector. Here's what I have so far:
code
entered:
FireProjectile(projectile, '0 1 0');
FireProjectile(projectile, '0 -1 0');
Assuming that '0 1 0' is the vector. Is that correct or do those numbers stand for something else? I imagine I also need to set the velocity. Can that be handled through the cog, or do I just base the projectile off of _weapon.tpl and edit the template's velocity?
By the way, getting hit by one projectile has to spell instant death for the player, and they also have to be destroyed when either coming in contact with the player or the opposite wall.
I have to set up a touched message and add in DamageThing for when the player comes into contact with the arrows in order for them to kill the player, correct?
What command do I need to use for the projectiles to be destroyed when coming in contact with a solid object?
code
entered:
FireProjectile(projectile, '0 1 0');
FireProjectile(projectile, '0 -1 0');
Assuming that '0 1 0' is the vector. Is that correct or do those numbers stand for something else? I imagine I also need to set the velocity. Can that be handled through the cog, or do I just base the projectile off of _weapon.tpl and edit the template's velocity?
By the way, getting hit by one projectile has to spell instant death for the player, and they also have to be destroyed when either coming in contact with the player or the opposite wall.
I have to set up a touched message and add in DamageThing for when the player comes into contact with the arrows in order for them to kill the player, correct?
What command do I need to use for the projectiles to be destroyed when coming in contact with a solid object?
Massassi, delivering a million smiles a day. Well...almost. ;-)