OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: kevind2003 on 29 Dec 2003, 22:48:00

Title: How to create an object which is own by the player?
Post by: kevind2003 on 29 Dec 2003, 22:48:00
Hi,

I wonder how to create an object (for example: Pipebomb) that is own by the player? so when others was killed by that bomb, it'll appear as "A was killed by B". Thanks
Title: Re:How to create an object which is own by the player?
Post by: Terox on 30 Dec 2003, 17:18:07
well you could try grouping it to the player, maybe that would help.

However if a player plants a satchel then detonates it or plants a mine the kill is awarded to him anyway
Title: Re:How to create an object which is own by the player?
Post by: xXNismoXx on 30 Dec 2003, 17:51:15
sounds like your talking about a trigger that will say "so and so killed somthing/somone", is this right?
Title: Re:How to create an object which is own by the player?
Post by: Planck on 30 Dec 2003, 20:20:54
No, If the player plants a satchel or mine which subsequently kills someone, the kill is awarded to the player.

It is automatic, you don't need to do anything.

But I think what you are after is a text message that will appear on screen declaring who killed who.

I think it can be done with a script, but I have never tried it, so am unable to help much there.


Planck
Title: Re:How to create an object which is own by the player?
Post by: kevind2003 on 30 Dec 2003, 22:41:42
Thanks for the help... I think it's impossible unless the ammo is fired/placed by the players...  :-\