umc campaign weird behaviour on 1.14 (used to work in 1.12) UPDATE
Moderator: Forum Moderators
- mercurius999
- Posts: 44
- Joined: February 23rd, 2010, 1:29 pm
umc campaign weird behaviour on 1.14 (used to work in 1.12) UPDATE
UPDATE: this was an idiot question: I didnt realize I've checked 'development mode at start' .. very sorry if mods think about erase this post it's ok for me
mercurius
good morning folks!
I was away since a big while.. I was working on a campaign some years ago and, even if not complete, it was used to work well on wesnoth 1.12 and now I restart testing it on 1.14 and it behaves very strangely: the campaign loads with no errors but when I move one side 1 unit a red arrow appears from the original tile to the destination one, the image of the unit disappears. Then the unit does not move until I press the 'End Turn' button.
I opened :debug and :inspect to see variables but nothing seems strange: side 1 units have goto_x and goto_y set to 0 0 or -999 -999 but I consider this normal.
I use a lot of imposed goto_x for side 2 but I hope this is not the problem.
Where I have to whatch? what I missed? Thanks for reading and for any eventual help
PS I add some chunk of code if can be relevant to anyone these units of side 1 are created in a block.
During the story part before turn 1 I move 2 side 1 units using this code:
thanks
mercurius999
mercurius
good morning folks!
I was away since a big while.. I was working on a campaign some years ago and, even if not complete, it was used to work well on wesnoth 1.12 and now I restart testing it on 1.14 and it behaves very strangely: the campaign loads with no errors but when I move one side 1 unit a red arrow appears from the original tile to the destination one, the image of the unit disappears. Then the unit does not move until I press the 'End Turn' button.
I opened :debug and :inspect to see variables but nothing seems strange: side 1 units have goto_x and goto_y set to 0 0 or -999 -999 but I consider this normal.
I use a lot of imposed goto_x for side 2 but I hope this is not the problem.
Where I have to whatch? what I missed? Thanks for reading and for any eventual help
PS I add some chunk of code if can be relevant to anyone these units of side 1 are created in a
Code: Select all
[event] name=start ...[unit] ... [/unit]
During the story part before turn 1 I move 2 side 1 units using this code:
Code: Select all
[store_unit]
[filter]
id=Zandreanor
[/filter]
variable=t_Zandreanor
[/store_unit]
{VARIABLE t_Zandreanor.goto_x 2 }
{VARIABLE t_Zandreanor.goto_y 7 }
[unstore_unit]
variable=t_Zandreanor
[/unstore_unit]
{CLEAR_VARIABLE t_Zandreanor}
mercurius999