I figured out a way to solve one of the problems I've been having with my map, but I need help working it out. How could I set up my lua so that when a certain cp is captured by the player, it will be destroyed after 1 minute unless recaptured?
I don't mean like in Yavin 4: Sunken Temple, how the bomber came by and destroyed the cp in assault mode, but more like killing the cp, like with the Hoth Shield Generator cp or in a campaign.
Look throuh the hoth shield generator properties. I removed destructibility from the kashyyk oil refinery thing, so Im sure that the effect can be added to a cp.
Um, I get what you are thinking, but I mean more of a campaign, killing the cp after a certain objective has been fulfilled, in this case capturing the cp. And it would have to be captured by the player in order for it to be deactivated.
Master Fionwë wrote:...I mean more of a campaign, killing the cp after a certain objective has been fulfilled, in this case capturing the cp. And it would have to be captured by the player in order for it to be deactivated.
Then do just that.
Set the CP to be capturable only by human players.
Stick it in a Conquest objective by itself.
When that objective ends, disabled the CP's capture region and kill the CP object.
Master Fionwë wrote:...I mean more of a campaign, killing the cp after a certain objective has been fulfilled, in this case capturing the cp. And it would have to be captured by the player in order for it to be deactivated.
Then do just that.
Set the CP to be capturable only by human players.
Stick it in a Conquest objective by itself.
When that objective ends, disabled the CP's capture region and kill the CP object.
Um, that is the entire reason for my asking. I have a general idea how to do that, but I am not that good with scripts. Is there a campaign script in existance already that has that idea? And how do I make a cp capturable by only human players?
I feel really stupid asking these questions, but again, scripting is not my forte by any means.