wml help

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Stosswelle
Posts: 166
Joined: June 4th, 2004, 8:18 pm
Location: Atlanta, GA
Contact:

Post by Stosswelle »

it still doesnt make sense why you use {VARIABLE x {X}} instead of x={X}

they really do seem the same

ill go stare at my code and see why it blows up, but i dont know how it could work for you and not me unless we have different versions
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
Dacyn
Posts: 1855
Joined: May 1st, 2004, 9:34 am
Location: Texas

Post by Dacyn »

Stosswelle wrote:it still doesnt make sense why you use {VARIABLE x {X}} instead of x={X}

they really do seem the same
In the first, 'x' is a variable; in the second it is a key. Would you write:

Code: Select all

[event]
name=moveto
x=1
y=20
 [filter]
 x=$x
 y=$y
 [/filter]
[/event]
to filter on (1,20)?
For further reference you should read PreprocessorRef, SyntaxWML, and VariablesWML.
Stosswelle wrote:ill go stare at my code and see why it blows up, but i dont know how it could work for you and not me unless we have different versions
Well, I have 0.8.
Stosswelle
Posts: 166
Joined: June 4th, 2004, 8:18 pm
Location: Atlanta, GA
Contact:

Post by Stosswelle »

i know you wouldnt write code like that but i dont see where you were going with that

i think i know what might be blowing up, ill go try it out
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
Stosswelle
Posts: 166
Joined: June 4th, 2004, 8:18 pm
Location: Atlanta, GA
Contact:

Post by Stosswelle »

ok yeah code is just not going to work
im giving up now
but wondering, why did you put the location for the unit to appear at outside of the unit tag?
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
Dacyn
Posts: 1855
Joined: May 1st, 2004, 9:34 am
Location: Texas

Post by Dacyn »

Stosswelle wrote:i know you wouldnt write code like that but i dont see where you were going with that
I thought you said they seemed the same?
Stosswelle
Posts: 166
Joined: June 4th, 2004, 8:18 pm
Location: Atlanta, GA
Contact:

Post by Stosswelle »

oh yeah those wiki pages didnt explain anything
but doesnt matter, cause im giving up on this
and still wondering why the location was done otuside of the unit tag
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
Dacyn
Posts: 1855
Joined: May 1st, 2004, 9:34 am
Location: Texas

Post by Dacyn »

Stosswelle wrote:oh yeah those wiki pages didnt explain anything
I see why, I'll edit it to get better phrasing.
Stosswelle
Posts: 166
Joined: June 4th, 2004, 8:18 pm
Location: Atlanta, GA
Contact:

Post by Stosswelle »

now it especially doesnt matter because the game has some nasty bug where it isnt accepting cfgs anymore
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
Dacyn
Posts: 1855
Joined: May 1st, 2004, 9:34 am
Location: Texas

Post by Dacyn »

Stosswelle wrote:now it especially doesnt matter because the game has some nasty bug where it isnt accepting cfgs anymore
wait, does the game start? I don't see how it would start without accepting .cfgs but what was the error message?
Stosswelle
Posts: 166
Joined: June 4th, 2004, 8:18 pm
Location: Atlanta, GA
Contact:

Post by Stosswelle »

i know some other people who had this bug
basically, the game just starts rejecting all cfgs
no clue why
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
Dacyn
Posts: 1855
Joined: May 1st, 2004, 9:34 am
Location: Texas

Post by Dacyn »

I wrote:what was the error message?
Post Reply