Condition trigger help

Do you need World Editor help? Ask here!
Forum rules
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.

Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.

Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.

Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
BugMeNot
Posts: 141
Joined: Wed Jan 21, 2009 12:46 pm

Condition trigger help

Unread post by BugMeNot »

this is how it looks right now: Event:every 10 sec of game time
Condition:
Create 1 footman for player 1 red at center of region

I need a Condition for somthing like: Unit of type equal to Castle inside region else do nothing
If that doesnt work, please help with an idea!
This is a guest account intended for use by people who wish to remain anonymous or hate registering.
(Please don't forget to sign your posts with your name if you want us to know who you are.)
http://www.bugmenot.com/view/3ice.hu

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Condition trigger help

Unread post by 3ICE »

What's it for?

Footy wars?
ImageImageImageImageImage
Image
ImageImage

BugMeNot
Posts: 141
Joined: Wed Jan 21, 2009 12:46 pm

Re: Condition trigger help

Unread post by BugMeNot »

nope a new map im creating. its a tournament series and i need spawns for each player but i need the condition for a region because i cant do unit comparison since players wont be in same position during the game
This is a guest account intended for use by people who wish to remain anonymous or hate registering.
(Please don't forget to sign your posts with your name if you want us to know who you are.)
http://www.bugmenot.com/view/3ice.hu

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Condition trigger help

Unread post by 3ICE »

Why don't you use
t_ugr for every castle
t_emp t_uni create 1 footman at
t_emp t_emp t_reg positon of castle
t_emp t_emp t_emp t_pla for owner of castle
ImageImageImageImageImage
Image
ImageImage

BugMeNot
Posts: 141
Joined: Wed Jan 21, 2009 12:46 pm

Re: Condition trigger help

Unread post by BugMeNot »

umm thats confusing on my current world editor lvl lol. can u write that more in a gui form haha That makes good sence though
This is a guest account intended for use by people who wish to remain anonymous or hate registering.
(Please don't forget to sign your posts with your name if you want us to know who you are.)
http://www.bugmenot.com/view/3ice.hu

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Condition trigger help

Unread post by 3ICE »

In GUI its on one line: for every castle - create 1 footman at positon of castle for owner of castle
ImageImageImageImageImage
Image
ImageImage

BugMeNot
Posts: 141
Joined: Wed Jan 21, 2009 12:46 pm

Re: Condition trigger help

Unread post by BugMeNot »

3ICE wrote:In GUI its on one line: for every castle - create 1 footman at positon of castle for owner of castle
so how will i create this spawn every 10 sec then if this is creating a single footman for each castle?

how can i make this work on a timing 10 second send?
Last edited by 3ICE on Sun Apr 24, 2011 4:41 pm, edited 1 time in total.
Reason: merged doublepost
This is a guest account intended for use by people who wish to remain anonymous or hate registering.
(Please don't forget to sign your posts with your name if you want us to know who you are.)
http://www.bugmenot.com/view/3ice.hu

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Condition trigger help

Unread post by 3ICE »

Event: every 10 seconds.

Edit: answering second (doublepost) question:
Either:
order last created unit to attack-move to a point variable you set up at map init (goes inside the loop)
or:
pick every unit in region and order... (goes after the loop)
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 122 guests