Staredit Network

Staredit Network -> StarForge -> Unit Properties
Report, edit, etc...Posted by knockdownshawn on 2005-03-27 at 17:32:08
Hello. I'm kind of new to Starforge, and I was wondering about the trigger:
CreateUnitWithProperties();
I want to create a unit that is invincible. The last parameter is the property of the unit being created, and I thought that it would say like "Invincible" or something, but there are just numbers 0-63. Does anyone know what number is invincible?
I made a map in StarEdit, and I made a trigger that makes a unit that is Invincible. When I opened, the last parameter was a 1, so I tried one in my trigger, but it didn't work. Can someone help me?
Report, edit, etc...Posted by KaboomHahahein on 2005-03-27 at 19:08:41
I'm pretty sure unit properties don't work yet. Just do the triggers for unit properties in another editor that works.
Report, edit, etc...Posted by LegacyWeapon on 2005-03-27 at 19:16:50
That number is referring to a unit properties. Every map has 64 unit properties set. No more no less. In order to create a unit with those properties, you would need to set the properties at the unit properties slots and then refer back to those slots with the triggers.

I think scmdraft2 lets you do that except you need to know the name of the property flag.


Just use another editor like SCXE.
Report, edit, etc...Posted by KaboomHahahein on 2005-03-27 at 19:28:48
Try this program it might help.

http://www.staredit.net/index.php?download=490
Report, edit, etc...Posted by Heimdal on 2005-03-27 at 19:34:51
QUOTE(knockdownshawn @ Mar 27 2005, 05:32 PM)
I made a map in StarEdit, and I made a trigger that makes a unit that is Invincible.  When I opened, the last parameter was a 1, so I tried one in my trigger, but it didn't work.  Can someone help me?
[right][snapback]174073[/snapback][/right]
Doing this should have worked. I think there might be an off-by-one error somewhere, so you might need to use the index minus one, i.e. 0.
Report, edit, etc...Posted by Mp)MinigameEast on 2005-03-27 at 19:58:00
weill i used it and i think its number 4 for invincible. you have to make the map first in x-tra editor then starforge i founded out my self.
Report, edit, etc...Posted by knockdownshawn on 2005-03-27 at 21:00:30
Well, thanks guys. I'm on vacation right now on someone else's computer so I don't want to download anything right now. I just downloaded Starforge. As far as the invincibility, I just made a location, and when a unit is brought to there, it becomes invincible. So I'm doing this for heroes on a map. When a player buys a hero, it goes to the hero landing area and then I just used SetInvincibility();
Thanks for the help though guys.
Report, edit, etc...Posted by Heimdal on 2005-03-27 at 23:52:19
QUOTE(MinigameEast @ Mar 27 2005, 07:58 PM)
weill i used it and i think its number 4 for invincible. you have to make the map first in x-tra editor then starforge i founded out my self.
[right][snapback]174137[/snapback][/right]
As LW kinda indicated earlier, the number you see is the number of the slot used. That means that it's different for every map, depending on the order in which you create the properties entries in Staredit.
Next Page (1)