Destroy MYG shield generator shield deactivate catalyst

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
StarkillerMarek
Rebel Colonel
Rebel Colonel
Posts: 611
Joined: Wed Aug 12, 2009 4:42 pm
Location: I may be back.

Destroy MYG shield generator shield deactivate catalyst

Post by StarkillerMarek »

Hi, I was wondering what kind of scripting would be involved to get something like when the mygeeto shield generator is destroyed, the force shield turns off. I have an idea how it might work, but I am not sure. I have scanned the mygeeto script but have not found anything.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Destroy MYG shield generator shield deactivate catalyst

Post by Fiodis »

OnObjectKill, KillObject(shield).
User avatar
StarkillerMarek
Rebel Colonel
Rebel Colonel
Posts: 611
Joined: Wed Aug 12, 2009 4:42 pm
Location: I may be back.

Re: Destroy MYG shield generator shield deactivate catalyst

Post by StarkillerMarek »

Thanks man, but could you please right out all I would need to make this work if the generator was named "generator" and the shield was named "shield"?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Destroy MYG shield generator shield deactivate catalyst

Post by Frisbeetarian »

I would write it out, but I find it easier to just look at the Mygeeto campaign script where Pandemic has written it already.
User avatar
StarkillerMarek
Rebel Colonel
Rebel Colonel
Posts: 611
Joined: Wed Aug 12, 2009 4:42 pm
Location: I may be back.

Re: Destroy MYG shield generator shield deactivate catalyst

Post by StarkillerMarek »

I looked at it, but I couldn't understand it.
Post Reply