Search found 563 matches

by Xudo
August 10th, 2009, 3:32 am
Forum: WML Workshop
Topic: Trouble with "select" event.
Replies: 12
Views: 950

Trouble with "select" event.

Needs to fire this event, when select any unit on the map.

Code: Select all

[event]
name=select
first_time_only=no
{DEBUG_MSG "$unit.id $unit.hitpoints"}
[/event]
Is this is proc only when "player" select unit, what belong to "player" side?
How can I avoid this difficult situation?
by Xudo
August 10th, 2009, 2:50 am
Forum: Ideas
Topic: What about the weather?
Replies: 10
Views: 1837

Re: What about the weather?

OKay. I'll try to make something like this, but ... Lawful and chaotic bonuses supported by engine. I will work with WML. This system will be look like this: [event] name=newturn {SETTING_STANDART_STATS_TO_UNITS} #use object on units {SAVING_ALL_UNITS_TO_ARRAY} {SET_WEATHER} #choose weather in some ...
by Xudo
August 9th, 2009, 9:21 am
Forum: Ideas
Topic: What about the weather?
Replies: 10
Views: 1837

Re: What about the weather?

To really use this as a tactical advantage however, there would need to be something like a weather forecast... Creating transition weathers can be "forecast" solution. For ex.: after "cloudy" weater can be Thunderstorm or Baking hot, or even a other "cloudy" time. Clo...
by Xudo
August 8th, 2009, 8:46 am
Forum: Ideas
Topic: What about the weather?
Replies: 10
Views: 1837

What about the weather?

Weather change each turn, gaining some bonus or weakness to all units on map. Something like +damage, -movement, or heal all on 1 or 2hp once.
Effects gains randomly, but with line to time of day.
For example:
Morning: healing or -damage
Afternoon: -movement or +damage
by Xudo
August 2nd, 2009, 5:58 am
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Re: Problem, what was appear with [store_time_of_day]

[event] name=new turn first_time_only=no [switch] variable=clock_count [case] value=6 {CHANGE_POS_OF Idiot Peasant_RPG 13 6} {VARIABLE clock_count 7} [/case] [case] value=5 {CHANGE_POS_OF Idiot Peasant_RPG 13 5} {VARIABLE clock_count 6} [/case] [case] value=4 {CHANGE_POS_OF Idiot Peasant_RPG 13 4} ...
by Xudo
July 31st, 2009, 3:34 pm
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Re: Problem, what was appear with [store_time_of_day]

[scenario] {@campaigns/My_first_scenario/utils/Vendor.cfg} {@campaigns/My_first_scenario/utils/Vendor_pot.cfg} {@campaigns/My_first_scenario/utils/Vendor_misc.cfg} {@campaigns/My_first_scenario/utils/Home.cfg} {@campaigns/My_first_scenario/utils/Walking.cfg} {@campaigns/My_first_scenario/utils/Item...
by Xudo
July 15th, 2009, 12:56 pm
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Re: Problem, what was appear with [store_time_of_day]

[event] name=new turn first_time_only=no [store_time_of_day] turn=$count_turns [/store_time_of_day] {DEBUG_MSG "$time_of_day.id = time of day"} [switch] variable=time_of_day.id Bla Bla Bla.... [/switch] {CLEAR_VARIABLE time_of_day} [set_variable] name=count_turns add=1 [/set_variable] {DE...
by Xudo
July 14th, 2009, 3:49 pm
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Re: Problem, what was appear with [store_time_of_day]

[event] name=new turn first_time_only=no [store_time_of_day] [/store_time_of_day] {DEBUG_MSG "time of day = $time_of_day.id"} [clear_variable] name=time_of_day [/clear_variable] {DEBUG_MSG "time of day = $time_of_day.id"} [/event] I copy this from my scenario. Messages are: 1st:...
by Xudo
July 13th, 2009, 3:53 pm
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Re: Problem, what was appear with [store_time_of_day]

I have 1.7.0 version. Does you have same?
by Xudo
July 13th, 2009, 3:11 pm
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Re: Problem, what was appear with [store_time_of_day]

Try [store_time_of_day] turn=$turn_number [/store_time_of_day] Same. I try to count turns with other variable [event] name=new turn first_time_only=no [store_time_of_day] turn=$count_turns [/store_time_of_day] {DEBUG_MSG "$time_of_day.id = time of day"} [switch] variable=time_of_day.id Bl...
by Xudo
July 12th, 2009, 9:05 am
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Re: Problem, what was appear with [store_time_of_day]

{CLEAR_VARIABLE time_of_day}
don't work.
EDIT: don't affect anything. Messages always 'morning'.
by Xudo
July 11th, 2009, 8:14 pm
Forum: WML Workshop
Topic: Problem, what was appear with [store_time_of_day]
Replies: 18
Views: 2397

Problem, what was appear with [store_time_of_day]

In my scenario, one unit must move to some location, depending of time of day. Ex. in dawn it must go to 'field', in morning - to 'home' [event] name=new turn first_time_only=no [store_time_of_day] [/store_time_of_day] {DEBUG_MSG "$time_of_day.id = time of day"} [switch] variable=time_of_d...
by Xudo
July 11th, 2009, 9:23 am
Forum: WML Workshop
Topic: Insane Hermit bugs
Replies: 48
Views: 7742

Re: Insane Hermit bugs

I wish that there would be a list of exact WML changes in new releases for the UMC developers to use. Just a thought. Exact List of WML Changes I wish people would actually read the announcements and stickies in a forum. Just a thought. Thanks a lot. I spent two days with rewrite my campaign from v...
by Xudo
July 1st, 2009, 7:23 pm
Forum: WML Workshop
Topic: How to use array, created by [store_time_of_day] tags?
Replies: 2
Views: 443

How to use array, created by [store_time_of_day] tags?

I need to make actions, depending of time of day, but there is a problem. Look to the code. [event] name=side turn first_time_only=no [store_time_of_day] [/store_time_of_day] {DEBUG_MSG "$time_of_day.id = time of day"} [switch] variable=time_of_day.id [case] value=Dawn [/case] #other cases...