(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 11-18-2008, 04:25 PM   #1 (permalink)
 
sebbestuffa's Avatar

User
 
Join Date: Nov 2008
Posts: 22

sebbestuffa is an unknown quantity at this point (0)


Creep help (displaying how many a player owns)

Hi, i making a Circle Defense and i need some help.

There are 4 players that defend a circle from creeps, if they are more then 60 creeps in it so will you lose.

My problem is, i want anything so i can see how menny creeps that player 10(creeper) owns

Im using food, when player 10s food limit become more then 60 all lose (1 food per creep)
__________________
Map builder, working with Undead Circle Defense Check it out :)
sebbestuffa is offline   Reply With Quote
Old 11-18-2008, 04:37 PM   #2 (permalink)
 
DarkAngelAzazel's Avatar

Envoy of the Apocalypse
 
Join Date: Sep 2008
Posts: 412

DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)


I think this should solve your problem...

a
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to Player 10 (Light Blue)
Then - Actions
Set Counter = (Counter + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Counter Greater than or equal to 60
Then - Actions
End Game
Else - Actions
Set Counter = 0
__________________
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe"

Quote from Albert Einstein
DarkAngelAzazel is offline   Reply With Quote
Old 11-18-2008, 04:38 PM   #3 (permalink)
 
UreDe4D's Avatar

valiant little mapper
 
Join Date: Nov 2006
Posts: 763

UreDe4D is on a distinguished road (76)UreDe4D is on a distinguished road (76)


you could display player 10s food in a multiboard, there are tutorials here on how to do it, although its not hard to find out by trying it
__________________
When I come back from the mighty quest
I have no need for sleep or rest
I head to a tavern for a drink
And get so drunk I cannot think
A wench by my side and a jug of mead
These are the things that I most need
So I sit back and sing this song
And drink and party all night long
UreDe4D is offline   Reply With Quote
Old 11-18-2008, 05:04 PM   #4 (permalink)
 
sebbestuffa's Avatar

User
 
Join Date: Nov 2008
Posts: 22

sebbestuffa is an unknown quantity at this point (0)


Ok, thanks

DarkAngelAzazel,
Then - Actions
Set Counter = (Counter + 1)

Is that a normal timer or what form of variable is that?
__________________
Map builder, working with Undead Circle Defense Check it out :)
sebbestuffa is offline   Reply With Quote
Old 11-18-2008, 05:07 PM   #5 (permalink)
 
DarkAngelAzazel's Avatar

Envoy of the Apocalypse
 
Join Date: Sep 2008
Posts: 412

DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)


Simple integer... just a "number" to count the units owned by player 10
__________________
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe"

Quote from Albert Einstein
DarkAngelAzazel is offline   Reply With Quote
Old 11-18-2008, 05:24 PM   #6 (permalink)
 
Day-Elven's Avatar

User
 
Join Date: Apr 2008
Posts: 347

Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)


I recommend you to do it by miltiboard. You need convert integer to string function.
Multiboard - Set the text for (Last created multiboard) item in column *, row * to (String((Number of units in (***)))
Day-Elven is offline   Reply With Quote
Old 11-18-2008, 05:25 PM   #7 (permalink)
 
sebbestuffa's Avatar

User
 
Join Date: Nov 2008
Posts: 22

sebbestuffa is an unknown quantity at this point (0)


Then - Actions
End Game

Cant find it O.o where is it?? :p
__________________
Map builder, working with Undead Circle Defense Check it out :)
sebbestuffa is offline   Reply With Quote
Old 11-18-2008, 05:47 PM   #8 (permalink)
 
Day-Elven's Avatar

User
 
Join Date: Apr 2008
Posts: 347

Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)


You can convert any integer to reals and strings.
When you use strings you see 2 red inscriptions: String1 + String2. A bit higher you see "Concentrate strings." Click on it and choose "Conversion - Convert integer to string." (In WEU it's 4th raw)
Day-Elven is offline   Reply With Quote
Old 11-18-2008, 08:47 PM   #9 (permalink)
 
UreDe4D's Avatar

valiant little mapper
 
Join Date: Nov 2006
Posts: 763

UreDe4D is on a distinguished road (76)UreDe4D is on a distinguished road (76)


by "End Game" he meant that you should put your defeat-actions there
__________________
When I come back from the mighty quest
I have no need for sleep or rest
I head to a tavern for a drink
And get so drunk I cannot think
A wench by my side and a jug of mead
These are the things that I most need
So I sit back and sing this song
And drink and party all night long
UreDe4D is offline   Reply With Quote
Old 11-18-2008, 10:54 PM   #10 (permalink)
 
DarkAngelAzazel's Avatar

Envoy of the Apocalypse
 
Join Date: Sep 2008
Posts: 412

DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)


Yeah sorry ^^

I never used this triggers so I had no idea what you need to end the game...
Because oft that I just wrote "end Game"^^
__________________
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe"

Quote from Albert Einstein
DarkAngelAzazel is offline   Reply With Quote
Old 11-19-2008, 03:04 PM   #11 (permalink)
 
sebbestuffa's Avatar

User
 
Join Date: Nov 2008
Posts: 22

sebbestuffa is an unknown quantity at this point (0)


Hehe :) Ok
__________________
Map builder, working with Undead Circle Defense Check it out :)
sebbestuffa is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Trigger] Creep Revive System & Creep Drops Hawk07 Triggers & Scripts 14 10-16-2007 12:00 PM
Displaying text to triggering player? SNOWmanx Map Development 2 09-23-2005 05:13 AM
Displaying problem Muoteck Texturing & Surfacing 3 08-24-2004 09:49 PM

All times are GMT. The time now is 07:22 AM.






Your link here 
Remortgages | Digimon Episodes | Credit Counseling | Meeting Rooms | Internet Advertising
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle