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.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Ultraviolet, Roy