Weapon explode on players death

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Weapon explode on players death

Post by skelltor »

I want to make a wepon like the det pack but have it also explode on the players death. How do i do this?
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Weapon explode on players death

Post by SAMofBIA »

wouldnt you use that lua script that i couldnt tell you off the top of my head to link the person dying with the weapon exploding ?

somt like:
onobjectdestroy(playamin,......) or some script like that? (im not sure waht script so people shold clarify)
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: Weapon explode on players death

Post by skelltor »

no i want it so when the player gets killed all of the detpacks he placed blowup
Post Reply