WB Coding Can anyone give me an example about this?

正在查看此主题的用户

Generalaine

Recruit
You'll actually have to edit this bit before copying it. Replace "trp_kingdom_1_pretender" with "knight_7_1" or whatever the ID of the first of your faction's lords is.

Then copy and paste that bit of the script below that, but before the (try_end), below. Add 6 to the number after ":ancestor_seed" and replace trp_knight_6_1 with trp_knight_7_1. Then put trp_kingdom_pretender back in the place you removed it from the previous bit.

That instruction gave me a headache please help. For now i'm going to rest thinking if this module system 1.171 will work with wb 1.174.
 
The module system 1.171 will work fine with wb 1.174, every other modders is using that one too ^^

You have to give more details about what you don't understand.
 
点赞 0
When I wrote that bit of the tutorial it was based on the assumption that, having read this far, people would already know what to do. There are a few bits earlier in the tutorial where I explain how to replace stuff in a bit more detail. But yeah, as earendil said you're going to have to provide more detail.
 
点赞 0
插入代码块:
        (else_try),
            (is_between, ":cur_troop", "trp_knight_6_1", "trp_knight_7_1"),
            (store_sub, ":npc_seed", ":cur_troop", "trp_knight_6_1"),
            (assign, ":ancestor_seed", 31),
            
        (else_try),
            (is_between, ":cur_troop", "trp_knight_7_1", "trp_kingdom_1_pretender"),
            (store_sub, ":npc_seed", ":cur_troop", "trp_knight_7_1"),
            (assign, ":ancestor_seed", 6),
is it gonna be like this?
 
点赞 0
后退
顶部 底部