Search found 9 matches
- January 4th, 2011, 3:13 am
- Forum: WML Workshop
- Topic: standard variable reference?
- Replies: 4
- Views: 551
Re: standard variable reference?
Well, the specific syntax of the temporary variable is of little consequence to me. I'm always very careful to use very unique variables when i define my own. I'd probably use something like cur_side_faction, or do it in a FOREACH with sidefaction[$i].faction... or something similar. I appreciate th...
- January 3rd, 2011, 1:28 pm
- Forum: WML Workshop
- Topic: standard variable reference?
- Replies: 4
- Views: 551
standard variable reference?
I've looked up and down many many times on the wiki and the forum. Almost every time I come to a roadblock with my current WML project, it's due to the fact that I don't know how to call or set X system-defined variable. After much searching, (and sometimes asking) I find or receive enlightenment......
- December 25th, 2010, 4:54 pm
- Forum: WML Workshop
- Topic: unit variables, arrays, and turns oh my
- Replies: 7
- Views: 1493
Re: unit variables, arrays, and turns oh my
nvm, I figured it out. I was trying to do [filter] [filter_wml] [variables] building_upgrading=yes [/variables] [/filter_wml] [/filter] But that syntax wasn't filtering out the non-upgrading buildings. I changed the filter to just filter by race=building and did a [if] {CONDITION building[$i].variab...
- December 25th, 2010, 4:36 pm
- Forum: WML Workshop
- Topic: unit variables, arrays, and turns oh my
- Replies: 7
- Views: 1493
Re: unit variables, arrays, and turns oh my
Now I'm getting the variable to stick, but it seems to be applying to all buildings rather than just the specific building that i chose to upgrade.
- December 25th, 2010, 4:18 pm
- Forum: WML Workshop
- Topic: unit variables, arrays, and turns oh my
- Replies: 7
- Views: 1493
Re: unit variables, arrays, and turns oh my
ooohhhh... anyone ever tell you that you're awesome?
thanks!
thanks!
- December 25th, 2010, 4:05 pm
- Forum: WML Workshop
- Topic: unit variables, arrays, and turns oh my
- Replies: 7
- Views: 1493
Re: unit variables, arrays, and turns oh my
Thanks for the quick response, I will give that a try.
My biggest problem is that the building_upgrading variable doesn't seem to stick.
Without that variable as a "flag", I have no way to filter out which buildings I should be modifying.
My biggest problem is that the building_upgrading variable doesn't seem to stick.
Without that variable as a "flag", I have no way to filter out which buildings I should be modifying.
- December 25th, 2010, 3:46 pm
- Forum: WML Workshop
- Topic: unit variables, arrays, and turns oh my
- Replies: 7
- Views: 1493
Re: unit variables, arrays, and turns oh my
I intend on using experience to control the building upgrade process, but I've also considered setting a separate variable on the unit based on the number of turns, and just adding one for each turn that passes... and upgrading the building after a threshold (but i figured XP was simpler... and I ca...
- December 25th, 2010, 3:42 pm
- Forum: WML Workshop
- Topic: unit variables, arrays, and turns oh my
- Replies: 7
- Views: 1493
unit variables, arrays, and turns oh my
Please forgive me if I'm re-posting. The search tool here doesn't really play nicely with WML, and I've searched the wiki up and down. I'll start by describing what I'm doing and my problems, then I'll post some snippets. I'm trying to mod the ANL map/scenario and build a toolset for what I call &qu...
- December 19th, 2010, 12:26 am
- Forum: Ideas
- Topic: [Request] Simultaneous turns
- Replies: 16
- Views: 7870
Re: [Request] Simultaneous turns
I have a question. What about order-queuing as an alternative to simultaneous turns? You could queue up orders and recruits during other player's turns. After your turn began, *if* you still believe your orders should be carried out as assigned, just hit the "move all" button to carry out ...