Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [lua]
- code = << role_counter_p = 5
- while role_counter ~= 0 do
- wesnoth.wml_actions.role( side = $role_counter_p, canrecruit = yes, role = "player" )
- role_counter_p = role_counter_p - 1
- end
- role_counter_b = 4
- while role_counter ~= 0 do
- wesnoth.wml_actions.role( side = $role_counter_b, canrecruit = yes, role = "boss" )
- role_counter_b = role_counter_b - 1
- end
- if role_counter_p and role_counter b == 0 then
- role_counter_p = nil
- role_counter_b = nil
- end
- >>
- [/lua]
Add Comment
Please, Sign In to add comment