Search found 72 matches

by zengetsu88
March 22nd, 2011, 4:10 pm
Forum: WML Workshop
Topic: gold adding event help... PLEASE!!!
Replies: 18
Views: 3163

Re: gold adding event help... PLEASE!!!

yes definitely. They will be available to both sides though.
by zengetsu88
March 2nd, 2011, 3:37 pm
Forum: WML Workshop
Topic: gold adding event help... PLEASE!!!
Replies: 18
Views: 3163

Re: gold adding event help... PLEASE!!!

oh wow! I thought I had tried that and it didn't work... but now it does... so thank you for the help, and here is the official code #define TRIGON_WEALTH_THING [event] name=side turn first_time_only=no [if] [have_unit] side=$side_number type=Trigon of Wealth [/have_unit] [then] [store_unit] [filter...
by zengetsu88
March 1st, 2011, 5:25 pm
Forum: WML Workshop
Topic: gold adding event help... PLEASE!!!
Replies: 18
Views: 3163

Re: gold adding event help... PLEASE!!!

Alright here is what I got. #define TRIGON_WEALTH_THING [event] name=side turn first_time_only=no [store_side] side=$side_number variable=self [/store_side] [if] [have_unit] side=self type=Trigon of Wealth [/have_unit] [then] [store_unit] [filter] side=self [/filter] variable=units [/store_unit] {FO...
by zengetsu88
February 25th, 2011, 6:38 pm
Forum: WML Workshop
Topic: How to define the current playing side without a number?!
Replies: 3
Views: 1118

Re: How to define the current playing side without a number?

Thanks ya'll.
Thats what I thought but i am having trouble with it in a few pieces, I will play with it though.
Good to hear from you again Pentarctagon.
by zengetsu88
February 25th, 2011, 4:10 am
Forum: WML Workshop
Topic: How to define the current playing side without a number?!
Replies: 3
Views: 1118

How to define the current playing side without a number?!

Okay basically, how can I define in an event (FOR MULTIPLAYER HUMAN VS HUMAN) the current playing side so that I can mark it in the "side=" stuff that are under half of my tags. I cannot just designate team 1 and 2, because I don't know if it is team 1 or 2 who is playing or if they are ev...
by zengetsu88
February 24th, 2011, 5:29 pm
Forum: WML Workshop
Topic: gold adding event help... PLEASE!!!
Replies: 18
Views: 3163

Re: gold adding event help... PLEASE!!!

If this unit is on the field then it is supposed to give its user one gold Its user, not side 1. The [gold] was only given and changed to side 1 when ceres said that on a prestart event, it'll only be 1. Originally, it was supposed to happen each turn, for each side. A bit like the way an Elvish Sh...
by zengetsu88
February 23rd, 2011, 8:47 pm
Forum: WML Workshop
Topic: gold adding event help... PLEASE!!!
Replies: 18
Views: 3163

Re: gold adding event help... PLEASE!!!

Okay I did the fixes ya'll told me to do. It is still not working. here's what I got: #define TRIGON_WEALTH_THING [event] name=prestart [if] [have_unit] side=1 type=Trigon of Wealth [/have_unit] [then] [event] name=side turn first_time_only=no [store_unit] [filter] side=1 [/filter] variable=units [/...
by zengetsu88
February 23rd, 2011, 7:25 pm
Forum: WML Workshop
Topic: gold adding event help... PLEASE!!!
Replies: 18
Views: 3163

gold adding event help... PLEASE!!!

Hey everybody! I need help with an event that I am placing into my eras file. This event loads when the game starts and It is supposed to continually check if the is a certain unit on the battlefield (called: Trigon of Wealth) If this unit is on the field then it is supposed to give its user one gol...
by zengetsu88
February 22nd, 2011, 5:14 pm
Forum: WML Workshop
Topic: Limiting number of one unit on battlefield
Replies: 8
Views: 1665

Re: Limiting number of one unit on battlefield

okay im gonna start testing it in wesnoth. Thank you for your help! it was a lot simpler than I thought it would be. One last question: Would $side-number work instead of "2" because I don't want to specify just one side, I want anyone who is using that particular unit to be limited. cause...
by zengetsu88
February 21st, 2011, 11:28 pm
Forum: WML Workshop
Topic: Teleportation between two units and not villages
Replies: 9
Views: 1896

Re: Teleportation between two units and not villages

You can make it work so that you select the unit to be transported, and then right-click on the destination and select your custom menu option. You can do whatever you need to do in a select event as long as you have needs_select=yes in your [set_menu_item]; just remember that only the latest selec...
by zengetsu88
February 21st, 2011, 9:21 pm
Forum: WML Workshop
Topic: Limiting number of one unit on battlefield
Replies: 8
Views: 1665

Re: Limiting number of one unit on battlefield

Sorry about all the threads. Lots of ideas and lots of research.... and of course lots of developing.

Awesome! Thanks!
But I am not doing this for a scenario but for multiplayer. Could this go under the ERA tag?
by zengetsu88
February 21st, 2011, 8:42 pm
Forum: WML Workshop
Topic: Limiting number of one unit on battlefield
Replies: 8
Views: 1665

Limiting number of one unit on battlefield

Can the number of a particular unit on the battlefield be limited to one?
if so how? (example code greatly appreciated)
Ex. If I already have a unit designated bob on the field, I can't recruit any more bobs...
by zengetsu88
February 21st, 2011, 8:37 pm
Forum: WML Workshop
Topic: Teleportation between two units and not villages
Replies: 9
Views: 1896

Re: Teleportation between two units and not villages

Its gonna be for multiplayer... I wanted to stick it in the eras file but if i have to i could stick it in the unit file. I thought about select already and I wasn't sure because even if I use select how do I guarantee that the teleport graphics will show up. Also I only want them to show up if ther...
by zengetsu88
February 21st, 2011, 8:34 pm
Forum: WML Workshop
Topic: Ghetto Recruiting Ability HELP!!!!
Replies: 33
Views: 4617

Re: Ghetto Recruiting Ability HELP!!!!

BOOM!!!! after long and arduous work, I got it to finally work! #define SPAWN_MENU_THING [event] name=prestart [set_menu_item] id=spawn_unit description="Spawn Unit" [show_if] [not] [have_unit] x,y=$x1,$y1 [/have_unit] [/not] [/show_if] [filter_location] [filter] ability=spawn side=$side_n...
by zengetsu88
February 21st, 2011, 7:42 pm
Forum: WML Workshop
Topic: Teleportation between two units and not villages
Replies: 9
Views: 1896

Re: Teleportation between two units and not villages

I know all about the set menu item thing...

my goal is to do the second thing you said... I want to teleport a unit without right clicking...
how?