I sorted one of the problems I had to add a couple box brakets to the trigger i had to change...
[quote author=Grant2600]
(1, [(try_begin),
(eq, "$g_greeks_trained", 1),
(party_add_members, "p_main_party", "trp_greek_footman", 5),
(assign, "$g_greeks_trained", 0), # swithc it off so you can train these guys again
(try_end),
]),
[/quote]
to...
[quote author=Grant2600]
(1, [(try_begin),
(eq, "$g_greeks_trained", 1),
(party_add_members, "p_main_party", "trp_greek_footman", 5),
],
[(assign, "$g_greeks_trained", 0), # swithc it off so you can train these guys again
(try_end),
]),
[/quote]
The other problem that i cant sus is that when I choose to recruit the units in the game, even if I dont have enough money it still gives me the units, i've been looking in operations and other files looking for something along the lines of
if player has gold val - x, continue, else - display message - you dont have enough dennars (jump to y menu)
obviously with the bracets and all the rest of it but i cant seem to find anything similar to this,
does anyone know how I could make it so that it will check the players denars and if they dont have enough then it doesn,t give them the troops?
Thanks.