help
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.
-
- Posts: 9
- Joined: September 19th, 2011, 2:43 pm
- Location: Czech Republic - Česká Republika, Litomyšl
help
Please help me: i am doing scenario and i don't know how to write code end scenario. I write this:
Where's my mistake?
Code: Select all
[event]
name=turn 70
[filter]
side=2
[/filter]
[endlevel]
result=victory
[/endlevel]
[message]
speaker=narrator
message= _"Věrní už se nikdy nedostanou ke mlýnu včas, vyhráli jsme."
[/message]
[/event]
[event]
name=turn 70
[filter]
side=3
[/filter]
[endlevel]
side=3
result=victory
[/endlevel]
[message]
speaker=narrator
message= _"Věrní už se nikdy nedostanou ke mlýnu včas, vyhráli jsme."
[/message]
[/event]
[event]
name=turn 70
[filter]
side=1
[/filter]
[endlevel]
side=1
result=defeat
[/endlevel]
[message]
speaker=narrator
message= _"Nedostaneš se tam včas, umřeš hlady."
[/message]
[/event]
Sorry for my English - it isn´t my native language.
- Neuromancer
- Posts: 204
- Joined: September 10th, 2010, 9:49 pm
Re: help
Zdravicko
Hmm, v com konkretne je problem? Nezobrazuje sa ti defeat pre side 1?
Hmm, v com konkretne je problem? Nezobrazuje sa ti defeat pre side 1?
- Pentarctagon
- Project Manager
- Posts: 5602
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: help
Moved to the correct forum.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
- Neuromancer
- Posts: 204
- Joined: September 10th, 2010, 9:49 pm
Re: help
Skus dat do name hodnotu time over namiesto turn 70, takto:
Code: Select all
[event]
name=time over
...atd pokracovanie tvojho kodu
-
- Posts: 9
- Joined: September 19th, 2011, 2:43 pm
- Location: Czech Republic - Česká Republika, Litomyšl
Re: help
Ne, nefunguje to - vypočitá to skóre a podle toho určí kdo vyhrál.
No, it does not work - it calculates the scores and determines who wins.
No, it does not work - it calculates the scores and determines who wins.
Sorry for my English - it isn´t my native language.
- Neuromancer
- Posts: 204
- Joined: September 10th, 2010, 9:49 pm
Re: help
Hmm... Toto je kod z Heir to the Throne, je to sprava, ktora sa zobrazi, ked ubehne cas. Skus tvoj event odvodit z tohto..
Code: Select all
[event]
name=time over
[message]
speaker=Delfador
message= _ "Oh, no! We have run out of time, they have arrived with reinforcements..."
[/message]
[/event]
- battlestar
- Posts: 690
- Joined: January 1st, 2007, 7:12 am
Re: help
Is this a multiplayer map rather than a single player scenario?
LUA: Llama Under Apprenticeship
Hell faction: completed
Hell faction: completed
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Re: help
From what I remember, This doesnt work in Multiplayer. Use [kill] on the sides you want to lose.
Code: Select all
[endlevel]
side=3
result=victory
[/endlevel]
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.