Mammoet
Master Knight
Poul2 said:Unfortunatelly, delay don't work if trigger flag is set to ti_something.
the more I learn about scripting in warband the sillier it gets
Poul2 said:Unfortunatelly, delay don't work if trigger flag is set to ti_something.
If you were a TW dev, what would you want e.g. ti_before_battle_start to do if delay>0 is set? So them disabled it for all ti-s to not cause confusion, cause ti-s are executed at specific moments, when certain actions are possibleMadocComadrin said:Both? I knew it didn't work for re-arm, but both?
Yes, both.MadocComadrin said:Both?
I knew it didn't work for re-arm, but both?
This is understandable if a trigger needs to execute right away since it relies on the trigger_result, but others not so much. Ah well.GetAssista said:If you were a TW dev, what would you want e.g. ti_before_battle_start to do if delay>0 is set? So them disabled it for all ti-s to not cause confusion, cause ti-s are executed at specific moments, when certain actions are possibleMadocComadrin said:Both? I knew it didn't work for re-arm, but both?
MadocComadrin said:This is understandable if a trigger needs to execute right away since it relies on the trigger_result, but others not so much. Ah well.GetAssista said:If you were a TW dev, what would you want e.g. ti_before_battle_start to do if delay>0 is set? So them disabled it for all ti-s to not cause confusion, cause ti-s are executed at specific moments, when certain actions are possibleMadocComadrin said:Both? I knew it didn't work for re-arm, but both?
(3, 0, 0, [],
[
#every 3-seconds trigger
]),
(3, 0.1, 0, [(eq, 1, 1)],
[
#delayed 0.1
]),
(3, 0.2, 0, [(eq, 1, 1)],
[
#delayed 0.2
]),
Rearm works fine on named triggers.Caba`drin said:Yes, both.MadocComadrin said:Both?
I knew it didn't work for re-arm, but both?
Caba`drin said:An option--others may have better:
Code:(3, 0, 0, [], [ #every 3-seconds trigger ]), (3, 0.1, 0, [(eq, 1, 1)], [ #delayed 0.1 ]), (3, 0.2, 0, [(eq, 1, 1)], [ #delayed 0.2 ]),
gaham1 said:Is there a thread or some sort of tutorial to editing the world map for singleplayer? (on warband)
The condition-consequence delay only does not work on named ti_* triggers; it works fine on timed triggers. And as cmp pointed out just above, the re-arm delay works on all.Ritter Dummbatz said:I remember a conversation between us though where I learned that the delay doesn't work which was the reason why I didn't even try that. ... Anyway, I will try that and most probably I misunderstood that post that time.
Moved that one to the tutorial section, too. Also see the threads for the various map-editing software (Thorgorimm's in the Unofficial Tools section, and a few beta ones here in The Forge). For Thorgorimm's note that you will need to take some files from the original M&B to get it to work for Warband, but again, look around a bit, there's plenty of info.Ritter Dummbatz said:gaham1 said:Is there a thread or some sort of tutorial to editing the world map for singleplayer? (on warband)
Yes, take a look at the tutorial section i.e.
Here is another one, pretty old but it might not be in that section just mentioned.
http://forums.taleworlds.com/index.php/topic,64289.msg1671004.html#msg1671004
Grimnir777 said:Does anybody know a simple way to change the Lord prefixes from "Count" to "Duke" or "Baron"?
("faction_title_male_player", "Lord {s0}"),
("faction_title_male_1", "Count {s0}"),
("faction_title_male_2", "Boyar {s0}"),
("faction_title_male_3", "{s0} Noyan"),
("faction_title_male_4", "Jarl {s0}"),
("faction_title_male_5", "Count {s0}"),
("faction_title_male_6", "Emir {s0}"),
("faction_title_female_player", "Lady {s0}"),
("faction_title_female_1", "Countess {s0}"),
("faction_title_female_2", "Boyarina {s0}"),
("faction_title_female_3", "{s0} Hatun"),
("faction_title_female_4", "Grevinne {s0}"),
("faction_title_female_5", "Countess {s0}"),
("faction_title_female_6", "Sayeda {s0}"),
Poul2 said:Yeah, that's how I will probably do this.
If cmpxchg8b said, it's the best way to do this, well... no further questions .
Thanks all for your answers.
Look at you...making sense...Barabas said:I was thinking, maybe you could check if someone uses the seath weapon key (gk_sheath_weapon).
Caba`drin said:Yes, you need to edit the Module System to accomplish this.