You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.12: It doesn't matter who deploys the barrel, it's always Kyara shouting 'Fire in the Hole!' next turn.
1.14: It doesn't matter who deploys the barrel, it's always Elynia shouting 'Fire in the Hole!' next turn.
The text was updated successfully, but these errors were encountered:
Konrad22
changed the title
E3S4_01 - Outpost of Hell, barrel related bugs
E3S4 - Outpost of Hell, questionable person shouting 'Fire in the Hole!'
Dec 22, 2018
It's not gonna be always Kyara or Elynia in either version but it's always going to be one of two units.
This is purely a side-effect of the engine's unit table implementation:
{RANDOM 1,2}
[message]
side=$random
race=human,orc,wolf,goblin,faerie,elf
message= _ "Fire in the hole!"
scroll=no
[show_if]
{VARIABLE_BOOLEAN_EQUALS activated_charge_message_used no}
[/show_if]
[/message]
While the side selection for the filter is explicitly randomized above (chooses between both player-controlled sides), the rest of the unit selection is not. Unless you explicitly write code to select a random unit from a set, code like this is just selecting the first unit matched by the filter, which is a deterministic outcome in all cases based on who got inserted into the game's live unit table first. I didn't feel it was an important issue at the time when I first wrote the scenario and had more pressing things to work on.
1.12: It doesn't matter who deploys the barrel, it's always Kyara shouting 'Fire in the Hole!' next turn.
1.14: It doesn't matter who deploys the barrel, it's always Elynia shouting 'Fire in the Hole!' next turn.
The text was updated successfully, but these errors were encountered: