ENDLESS™ Legend is a turn-based 4X fantasy-strategy game, where you control every aspect of your civilization as you struggle to save your homeworld Auriga. Create your own Legend!
I imagine this is really easy to do, but actual coding is not something I'm an expert at and I need a little bit of help here.
I just need a simple example of how to trigger a quest and a quest step at specific turns. I just want to provide story updates at turn 20, turn 200, turn 300, etc.
Hi there! Here is what you need. Paste this in the PREREQUISITES section of an xml quest:
$Property(ClassEmpire:CurrentTurn) ge (5 * $Property(ClassEmpire:GameSpeedMultiplier))
With this you can even decide to bind it to the gamespeed factor. In the example just above, your story update will be at turn 5 in normal speed (btw, this example has been copied from QuestDefinitions[FromInteract].xml)
Another example: here, you would decide to trigger this quest, at the beginning of the turn ("BeginTurn" tag), and if we count 1 or more than 1 city in the Broken Lords empire:
BeginTurn
../EmpireTypeMajor,AffinityBrokenLords
$Count(EmpireTypeMajor/ClassCity) ge 1
This prerequisite example is what we've been using for each 1st Chapter of each Faction quest. If you know how is made the simulation, you should be able to check, through a prerequisite, any property belonging to the Empire
lilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelDEVKaboomer
Dev
DEVKaboomer
Dev
30 600g2g ptsReport comment
Why do you report Kaboomer?
Are you sure you want to block Kaboomer ?
BlockCancelAre you sure you want to unblock Kaboomer ?
UnblockCancelDEVKaboomer
Dev
DEVKaboomer
Dev
30 600g2g ptsReport comment
Why do you report Kaboomer?
Are you sure you want to block Kaboomer ?
BlockCancelAre you sure you want to unblock Kaboomer ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelDEVFrogsquadron
Broken
Frogsquadron / François (\franswa\) "I am tormented with an everlasting itch for things remote. I love to sail forbidden seas."
DEVFrogsquadron
Broken
52 300g2g ptsReport comment
Why do you report Frogsquadron?
Are you sure you want to block Frogsquadron ?
BlockCancelAre you sure you want to unblock Frogsquadron ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelDEVFrogsquadron
Broken
Frogsquadron / François (\franswa\) "I am tormented with an everlasting itch for things remote. I love to sail forbidden seas."
DEVFrogsquadron
Broken
52 300g2g ptsReport comment
Why do you report Frogsquadron?
Are you sure you want to block Frogsquadron ?
BlockCancelAre you sure you want to unblock Frogsquadron ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancel