Page 1 of 1
Destroy MYG shield generator shield deactivate catalyst
Posted: Sun Sep 20, 2009 4:39 pm
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.
Re: Destroy MYG shield generator shield deactivate catalyst
Posted: Sun Sep 20, 2009 4:42 pm
by Fiodis
OnObjectKill, KillObject(shield).
Re: Destroy MYG shield generator shield deactivate catalyst
Posted: Sun Sep 20, 2009 5:01 pm
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"?
Re: Destroy MYG shield generator shield deactivate catalyst
Posted: Sun Sep 20, 2009 7:09 pm
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.
Re: Destroy MYG shield generator shield deactivate catalyst
Posted: Sun Sep 20, 2009 8:43 pm
by StarkillerMarek
I looked at it, but I couldn't understand it.