Aeon
Squire
Greetings people.
I want to learn more about this flag (from module_music.py) :
mtf_sit_encounter_hostile
How does it work ? On wich event it rely and allow to play track ?
- I had many tries ingame, but never success to trigger it.
- Yes, I widely searched on forum about it.
- No, there is no clue from header_music.py.
- From module_scripts.py I found it twice but this does not help me (since I don't really understand Python)
here :
...and here :
I'm really annoyed by this baffling flag !
I see many mod using their own music -and with that flag- so I guess some know and could tell me more...
Please ?
I want to learn more about this flag (from module_music.py) :
mtf_sit_encounter_hostile
How does it work ? On wich event it rely and allow to play track ?
- I had many tries ingame, but never success to trigger it.
- Yes, I widely searched on forum about it.
- No, there is no clue from header_music.py.
- From module_scripts.py I found it twice but this does not help me (since I don't really understand Python)
here :
Code:
# (call_script, "script_music_set_situation_with_culture", mtf_sit_encounter_hostile),
Code:
("music_set_situation_with_culture",
[
(store_script_param, ":situation", 1),
(assign, ":culture", 0), #no culture
(try_begin),
(this_or_next|eq, ":situation", mtf_sit_town),
(this_or_next|eq, ":situation", mtf_sit_day),
(this_or_next|eq, ":situation", mtf_sit_night),
(this_or_next|eq, ":situation", mtf_sit_town_infiltrate),
(eq, ":situation", mtf_sit_encounter_hostile),
(call_script, "script_get_culture_with_party_faction_for_music", "$g_encountered_party"),
(val_or, ":culture", reg0),
(else_try),
I'm really annoyed by this baffling flag !
I see many mod using their own music -and with that flag- so I guess some know and could tell me more...
Please ?