Page 1 of 1
Projectile owner?
Posted: Tue Feb 15, 2005 2:05 pm
by Rookie One.pl
Hi,
I need to know at least the dmteam of the player (or, preferably, the player him/herself) who shot out a projectile! Is there any way to do this?
Rookie One
Posted: Tue Feb 15, 2005 8:57 pm
by lizardkid
maybe assign a value to the projectile with the dmteam of the player that shot it? dunno how you're doing it.
Posted: Tue Feb 15, 2005 9:05 pm
by Rookie One.pl
Yeah, but how do I get the player who shot it???

Posted: Tue Feb 15, 2005 11:29 pm
by Elgan
Rookie One wrote:Yeah, but how do I get the player who shot it???

u can exec a scr from the projectile tik and maybe try parm.oner ? or something. I dunno with a projectile. Ive used similar with guns before,
I needed somehting like this but i needed to control the projectile also so i scripted it instead.
Posted: Wed Feb 16, 2005 7:37 am
by Rookie One.pl
Parm.other is for triggering a trigger, not for projectile...

Posted: Wed Feb 16, 2005 2:03 pm
by Elgan
Rookie One wrote:Parm.other is for triggering a trigger, not for projectile...

parm.owner is what i meant..
ANd no its not just for a trigger your wrong. This can work soemtimes depending on who's firing at the time.
parm.other from a script exec by a players weapon sometimes gives the player or sometimes a diff player using the gun. Thats why i whent with a scripted projectile.
but anyway parm.other is not just for triggers ur wrong:D. ALso its not for triggering triggers.
$trigger trigger is for triggering triggers:)
Posted: Wed Feb 16, 2005 2:50 pm
by Rookie One.pl
Don't be so specific. I was in a hurry, I meant that parm.other is the trigger triggerer.
Anyway, how does parm.owner work? Could you explain this a bit so all of the comunity could benefit?

Posted: Wed Feb 16, 2005 3:55 pm
by lizardkid
should be the same. it's a parm. variable.