Page 1 of 1

Add/subtract value to existing structure with event?

Posted: Sun Oct 01, 2023 5:09 am
by teufel0331
How do I use an event to buff an existing structure? Say, an existing deport or fort at level 2 - how do I increase it to level 4? Conversely, how would I reduce the value of a level 3 fort to level 1? This only works if it doesn't already exist:

SelectFaction = $X
SelectRegion = $X

CreateStruc
SetType = $Depot
SetLevel = 4
SetName = Depot
Apply

Thank you!

Re: Add/subtract value to existing structure with event?

Posted: Sun Oct 01, 2023 2:29 pm
by Bohémond
Hello

You cannot increase/decrease struture level with a single script command.
You will need to destroy the existing structure first and create a new one with the intended level.

Regards