Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How to create the properties flag from TrigEdit?
How to create the properties flag from TrigEdit?
Feb 9 2019, 9:55 pm
By: sethmachine  

Feb 9 2019, 9:55 pm sethmachine Post #1



Hi,

There are actions for Create Unit with Properties and Set Unit Properties.

When these get compiled to TrigEdit, the properties argument is an integer, e.g.

Create Unit with Properties("Player 8", "Terran Marine", 2, "Nexus1", 11);

I have no idea what "11" means in terms of human readable properties.

My question is:
1. How do I parse "11" into human readable properties?
2. How do I turn human readable properties into this integer?

Thanks!



None.

Feb 10 2019, 1:13 am Ultraviolet Post #2

Don't stop till you get enough

There's probably a better way to do it, but I would just go into classic map triggers and view the properties so I could make an association between those properties and whatever number I saw in trigedit.




Feb 10 2019, 6:52 am Lanthanide Post #3



At the top of the trigger editor view there are actually 3 buttons that you've probably never noticed. The first says Trigger. The second says Switches. The third says Unit Properties. Click Unit Properties and it gives you a human-readable list of all of those unit properties, with the number tying back to the trigger you edited.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:34 am]
Slyence -- Ohh. Sneaky emote. Hmmmm
[04:01 am]
lil-Inferno -- Slyence
Slyence shouted: Does anyone know if Voyager is still around?
he is but you'll have way better lucc finding him on SEN discord
[03:04 am]
Ultraviolet -- Slyence
Slyence shouted: Sorry about all the reminiscing. Just brings back the good Ole days.
we don't do that here :shifty:
[03:03 am]
Ultraviolet -- sraw531
sraw531 shouted: anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
no idea why, but just confirmed through a small test that you're correct
[03:01 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: NudeRaider *sigh* n
oh I didn't know wtf you were going for lol
[02:43 am]
sraw531 -- literally just copied the trigger from the original map and changed the location name and it breaks...
[02:33 am]
sraw531 -- trying to make a remake of Terran9, which has zerg and protoss who hate each other
[02:32 am]
sraw531 -- anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
[12:53 am]
Slyence -- I think there was even an advertising team back then.
[12:52 am]
Slyence -- Sorry about all the reminiscing. Just brings back the good Ole days.
Please log in to shout.


Members Online: Roy, FionarBooker