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


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?



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

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.


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:52 pm]
UEDCommander -- What else could it be
[11:52 pm]
UEDCommander -- Of course
[11:52 pm]
UEDCommander -- Third
[10:57 pm]
Pr0nogo -- at least the 3rd campaign had voice acting
[10:57 pm]
Pr0nogo -- i streamed every campaign in that disaster and it was truly terrible the whole way through
[10:56 pm]
Pr0nogo -- yeah they did
[04:27 pm]
IlyaSnopchenko -- if they did it was a good way to have your ears AND eyes bleeding at the same time :D
[04:27 pm]
IlyaSnopchenko -- I forgot did VOTF have the voiceovers ripped from that anime
[04:26 pm]
IlyaSnopchenko -- And I forgot who the author pasted Ranma over... Jim Raynor marine unit methinks.
[04:26 pm]
IlyaSnopchenko -- Akane certainly wasn't :)
Please log in to shout.

Members Online: Roy, jjf28, 8oliviae131ee5, juiy