Page 1 of 1

Bridge destroyed ---> Turrets destroyed....?

Posted: Fri Sep 14, 2007 9:20 am
by Aman/Pinguin
Hey ho,
Just a little question for my spacemap:
What do i have to add to the lua, to config that if the bridge of the CIS Mainship is destroyed, the turrets on the top of the bridge become destroyed, too?


ps.: Sorry if the sentence is confuse my english isn't that great... :wink:

Re: Bridge destroyed ---> Turrets destroyed....?

Posted: Fri Sep 14, 2007 9:32 am
by Falco
i dont know but i think this should work:

function SetupDestroyables()
--CIS destroyables
BridgeLinkageCIS = LinkedDestroyables:New{ objectSets = {{"NAME-FROM-YOUR-BRIDGE"}, {"NAME-FROM-YOUR-TURRET"}, {"NAME-FROM-YOUR-TURRET2"},{"NAME-FROM-YOUR-TURRET3"}} } BridgeLinkageCIS:Init()