I had a problem with side setting at the start of the scenar
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
- IIIO_METAL
- Posts: 202
- Joined: January 18th, 2017, 5:03 pm
- Location: japan
I had a problem with side setting at the start of the scenar
Hello.
I have problems with side setting at the beginning of the scenario.
I did not understand where I was wrong. This side setting works fine with version 1.12.6, but in 1.13.6 the leader unit does not appear and as soon as the scenario starts the defeat is finalized.
What should I do in order to run this code in 1.13.6?
I have problems with side setting at the beginning of the scenario.
I did not understand where I was wrong. This side setting works fine with version 1.12.6, but in 1.13.6 the leader unit does not appear and as soon as the scenario starts the defeat is finalized.
Code: Select all
[side]
side = 1
controller = human
team_name = Player
persistent = yes
save_id = Player
type = $Player[0].Player_select|
id = Player
canrecruit = yes
recruit = ""
x,y = $Player[0].X| , $Player[0].Y|
{GOLD 0 0 0}
{INCOME -2 -2 -2}
village_gold = 0
[/side]
Creator of "Mountain Witch" & "Castle of evil spirit"
Re: I had a problem with side setting at the start of the sc
Did you check the output of the error log?
probably variave substitution in [side] doesn't work the same as before (for type= i'm quire suprised if it ever had worked). I'd reccomend to first try replacing
probably variave substitution in [side] doesn't work the same as before (for type= i'm quire suprised if it ever had worked). I'd reccomend to first try replacing
x,y = $Player[0].X| , $Player[0].Y|
with fixed values and then type = $Player[0].Player_select|
pot chek whether teh scneario works then. ahen it works you coudl then try to move the units to it's destination in a prestart event.Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
- IIIO_METAL
- Posts: 202
- Joined: January 18th, 2017, 5:03 pm
- Location: japan
Re: I had a problem with side setting at the start of the sc
Gfgtdf, Thanks for the advice.
I did not know that using variable substitution on the side is a mistake.
According to the advice, I decided to do a detailed work with prestart.
And you may not believe it, I did not know how to check the error log. Next time, I will consider myself a little more before questioning someone. Thank you very much!
I did not know that using variable substitution on the side is a mistake.
According to the advice, I decided to do a detailed work with prestart.
And you may not believe it, I did not know how to check the error log. Next time, I will consider myself a little more before questioning someone. Thank you very much!
Creator of "Mountain Witch" & "Castle of evil spirit"