Projectile owner?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Projectile owner?

Post 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
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

maybe assign a value to the projectile with the dmteam of the player that shot it? dunno how you're doing it.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Yeah, but how do I get the player who shot it??? :?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post 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.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Parm.other is for triggering a trigger, not for projectile... :?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post 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:)
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post 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? :P
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

should be the same. it's a parm. variable.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply