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



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.
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: eksxo, Roy