[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > Map Development


Map Development Discuss your developing maps. Release beta tests and get useful feedback before the final release. If your map is fully complete or is a late Beta, then it can be uploaded directly to our Maps Section. Otherwise, attach the map to your post. This is NOT a forum to ask questions about the Editor!

Closed Thread
 
Thread Tools
Old 06-15-2006, 05:26 PM   #1 (permalink)
Registered User Leinad
User
 
Join Date: Aug 2004
Posts: 64
Leinad is an unknown quantity at this point (0)
Array condition thing question

I have just resently learned how to use arrays and I need help with a trigger for a arrowkey movement system.
The event is every .01 seconds of game time. The condition is if the players variable "up" (boolean array) is true, the action is to issue an order for there "current unit" (unit array) to move to "location" (regin array).
Is there a way that I can acomplish for 12 players with one trigger?
Thanx
__________________
The night is not evil, it is what often dwells in it that is.
)==|:::::::::> -Leinad
Leinad is offline  
Old 06-15-2006, 06:54 PM   #2 (permalink)
Registered User IggyZ
User
 
Join Date: Nov 2005
Posts: 101
IggyZ is an unknown quantity at this point (0)
You really don't want to use 0.01 second triggers. When I did it, I got away with about 0.8 second repeats.

For every integer 1 to 12, if UP(boolean)[integerA] = true, order HERO(unit)[integerA] to move to it's own position, offset by 300 toward's it's facing.

Or just look at my map, whatever.
IggyZ is offline  
Old 06-15-2006, 09:21 PM   #3 (permalink)
Registered User Leinad
User
 
Join Date: Aug 2004
Posts: 64
Leinad is an unknown quantity at this point (0)
thanks!

Thanks! I got it to work.
__________________
The night is not evil, it is what often dwells in it that is.
)==|:::::::::> -Leinad
Leinad is offline  
Closed Thread

Bookmarks

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Condition Question NoobMapmaker World Editor Help Zone 2 04-26-2008 03:11 AM
quick array index question jruland Map Development 1 08-23-2006 09:22 PM
Condition question... Preskooldude Map Development 1 06-13-2006 12:21 PM
quick question about a condition darco9x2 Map Development 2 12-22-2004 05:32 PM
k i have a question about the picture thing ShAdOw_FlAmE Map Development 1 08-23-2004 01:40 AM

All times are GMT. The time now is 12:04 PM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle