|  |
|  |
04-09-2005, 12:52 AM
|
#1 (permalink)
| BattleForums Junior Member
Join Date: Oct 2003 Posts: 81
| Max Number of Units with Properties???? How does the computer know that i have created the maximum number
of units "with properties" ????
i started getting this warning as i was doing my triggers.
i dint' add any units to the map itself.... im sure im under the 1,000+ units
allotted.
is this a legit warning??
=LIFT=
__________________ |
| | | | Sponsored Links |
04-09-2005, 01:39 AM
|
#2 (permalink)
| BattleForums Senior Member
Join Date: Jan 2005 Location: near Watertown, NY Age: 23 Posts: 2,985
| Yes, it is. You can only use so many "Create Units With Properties" actions in your triggers. Ways to get around this are by creating the units without properties and then setting the properties. Example:
C:
Always.
A:
Create 1 Protoss Scout at Location 1 for Current Player.
Enable Invincibility for all Protoss Scout at Location 1 for Current Player.
Preserve trigger.
That would constantly create invincible scouts at the location for you, without actually using the "Create Units With Properties" actions. It is a legitimate problem, and you need to correct it by removing some of your "Create Units With Properties" actions, or simply not using any more for the rest of your triggers.
If you try to make any more of those actions, you get that warning for a reason, and that reason is that it will not apply any properties to the unit it's creating.
__________________  WHEN WILL TEH EGG HATCH!?!! MEOWZ!!1 |
| |
04-09-2005, 01:49 AM
|
#3 (permalink)
| BattleForums Junior Member
Join Date: Oct 2003 Posts: 81
| invincibility isn't what im using up... it's the burrowed.. cuz i need space
in the creation locations... i dotn' want that damn "can't create unit" warning
ingame. *SIGH*
do you know the max number of these units we can make?
=LIFT=
__________________ |
| |
04-09-2005, 01:57 AM
|
#4 (permalink)
| BattleForums Senior Member
Join Date: Jan 2005 Location: near Watertown, NY Age: 23 Posts: 2,985
| It isn't the number of units you're making, it's the total number of times you use the "Create Units With Properties" action. I'll test it really quick and find out what the limit is.
The limit is 64 "Create Units With Properties" actions. It doesn't matter how many players you have the trigger set for, it just matters how many times "Create Units With Properties" shows up in your actions. 64 is the limit, after that it disables your properties box (click "Apply Properties" on one of your new "Create Units With Properties" actions and you'll notice you can't change anything).
__________________  WHEN WILL TEH EGG HATCH!?!! MEOWZ!!1 |
| |
04-09-2005, 02:32 AM
|
#5 (permalink)
| BattleForums Junior Member
Join Date: Oct 2003 Posts: 81
| heh... you answered my next Q about "if it matters how many players i set the
trigger for"....
YOU DAH MAN AZZIE!
i went back and editted out 5 "invincible" properties... now... i need like.. maybe...
3 more.. and i should be ok (at least ok for one day). HAH.
=LIFT=
__________________ |
| |
04-09-2005, 02:37 AM
|
#6 (permalink)
| BattleForums Senior Member
Join Date: Jan 2005 Location: near Watertown, NY Age: 23 Posts: 2,985
| Yeah, I found this out the hard way myself  What's a real pain is when you run out of locations, because there's no way to get past that unless you can figure out ways to use the exact same location to do multiple tasks. To those who would bring it up, yes I know it's possible to do, like making 1 location bounds, I'm just saying it isn't a pleasant task.
Anyways, happy as always to be of assistance 
__________________  WHEN WILL TEH EGG HATCH!?!! MEOWZ!!1 |
| |
04-09-2005, 02:47 AM
|
#7 (permalink)
| BattleForums Junior Member
Join Date: Oct 2003 Posts: 81
| hmmm.... that last comment about the "one location bounds" got me thinking...
im not making anything like a bound map.... but... hmmm... perhaps i can
reduce my number of locations and just use invincible Placed objects.
all i have to do is to have certain locations differentiated by sizes. hmmmm....
interesting thought process.... hmmmm....
(a whole new world)
=LIFT=
__________________ |
| |
04-09-2005, 12:45 PM
|
#8 (permalink)
| BattleForums Member
Join Date: Jul 2003 Age: 23 Posts: 342
| If a lot of your actions use the same properties you can use Starforge to make those triggers use the same slot because it indexes by number. I'd recommend doing this only when you're done with terrain though. |
| |
04-09-2005, 02:40 PM
|
#9 (permalink)
| BattleForums Junior Member
Join Date: Oct 2003 Posts: 81
| heimdal... what do you mean "use the same slot" and "indexes by number"?
do you mean for example:
Condition: Always
Action: Create 1 Marine at Location1; apply properties
then... SF2.2 saves the above action indexed to a number
so if i use that same EXACT Action then it will not count against
the overall 64 iterations?
__________________ |
| |
04-09-2005, 08:48 PM
|
#10 (permalink)
| BattleForums Member
Join Date: Jul 2003 Age: 23 Posts: 342
| Not the same action, but the same number. I never got around to actually letting you change the unit properties, so all you can change is the slot number. When you make a trigger in SE and then open it in SF, you'll see something like this:
CreateUnitWithProperties(1, Marine, Location 1, P1, 5);
5 is the "slot number." When you use the same number you will get the same properties. You only have room for 64 slots in the map, but you can have as many actions use the same slot as you want. |
| |
04-10-2005, 01:49 AM
|
#11 (permalink)
| BattleForums Junior Member
Join Date: Oct 2003 Posts: 81
| so all i have to do is make my map with SE... then at some point, convert
to SF real quick... and readjust my slot numbers??? or does SF
automatically adjust my slot numbers for me?
=LIFT=
__________________ |
| |
04-10-2005, 09:58 AM
|
#12 (permalink)
| BattleForums Senior Member
Join Date: May 2003 Age: 18 Posts: 4,494
| Proedit, a map protection program, can do the same thing. I've never used it so I can't really help. |
| |
04-10-2005, 11:35 AM
|
#13 (permalink)
| BattleForums Member
Join Date: Jul 2003 Age: 23 Posts: 342
| SF will use whatever slot numbers SE made, so if you already made all your triggers you'll have to go back and change them all. That's why, if you're not comfortable with SF's terrain editor, you should finish the terrain in SCXE and then write the triggers with SF. There is a "unit properties slot editor" that will let you change the values for each of the slots on staredit.net. I've never used it, so I couldn't tell you how useful it is. |
| | | |  | | Get rid of all these ads! Take 30 seconds to register. |