Jump to content
Age of History 3
  • 0
CzarnyJudasz

Event with decisions

Question

I have a problem. I am creating a sequence of events and I have created an event that has two decisions. One is to burn the city, the other is not to burn the city. I want each of these decisions to have their own events. By 1 the city was burned and by 2 the city was not burned. But I don't know how to do it. I used the has_variable command, but this command works on the event id and decisions in events do not have an id. I don't know what to do. I'm stuck.I need to know what to do so that a separate decision in an event triggers another event dedicated to this decision

 

thx for help

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

In the burn outcome, put add_variable=cityburn_accepted ; In the no burn outcome, put add_variable=cityburn_rejected

Then create two new .txt in the events folder, cityburn_accepted and cityburn_rejected (the names I used are an example, can be any name)

Share this post


Link to post
Share on other sites

  • 0
3 minutes ago, Iceman said:

In the burn outcome, put add_variable=cityburn_accepted ; In the no burn outcome, put add_variable=cityburn_rejected

Then create two new .txt in the events folder, cityburn_accepted and cityburn_rejected (the names I used are an example, can be any name)

Yes, like that outcomes but in next events as triggers you need to use:

has_variable=cityburn_accepted
has_variable=cityburn_rejected

The next two event files don't need to be named cityburn_accepted and cityburn_rejected.

Share this post


Link to post
Share on other sites

  • 0

still not working. I started creating someting else.I made two simple events in which Spain rejects Italian demands. But Italy gets nothing. The last event is not displayed at all. Why? What's wrong?the rest of my events don't work either

id=spa1
title=Italy demands control of the Balerian Islands!
desc=T
mission_desc=Description in the missions view! Hi!

image=87.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and
is_civ=spa
trigger_and_end

option_btn
name=I agree, it's not worth the war
add_variable=italian_demands_accepted
ai=0
option_end

option_btn
name=We will never agree to this!
add_variable=italian_demands_rejected
ai=100
option_end

 

 

id=ita.9 Not working!
title=The Spanish government reject our demands!
desc=Madrid rejected our demands for the Baler Islands.Franco has no intention of risking being recognized by the UN as our ally.What should we do now?
mission_desc=Description in the missions view! Hi!

image=89.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and
is_civ=ita
next_and
has_variable=italian_demands_rejected
next_and
exact_day=30=1=1949
trigger_and_end

option_btn
name=Threaten them with Regia Marina!
ai=0
option_end

option_btn
name=Let's start negotiations and reach a deal
ai=100
option_end

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games