Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: What happens if I create a trigger action in "TRG " that
What happens if I create a trigger action in "TRG " that
Mar 17 2019, 1:10 pm
By: sethmachine  

Mar 17 2019, 1:10 pm sethmachine Post #1



Hi,

I am going off the format here: http://www.starcraftai.com/wiki/CHK_Format#.22TRIG.22_-_Triggers

According to this format, each action consists of different unsigned integers which indicate what the trigger actually does.

There seem to be many many combinations of setting different action bits than named trigger actions in the GUI.

For example, what stops me from creating an action that plays a WAV but also specifies a Source location? Does Starcraft use the action byte and only read fields that are used by that action, ignoring everything else that is set in the action struct?



None.

Mar 17 2019, 9:06 pm Suicidal Insanity Post #2

I see you !

what do you mean by action bits?




Mar 22 2019, 1:56 am O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

Quote from sethmachine
For example, what stops me from creating an action that plays a WAV but also specifies a Source location? Does Starcraft use the action byte and only read fields that are used by that action, ignoring everything else that is set in the action struct?
Yes. Fields that are unused by a particular action will be ignored.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:58 pm]
Pr0nogo -- Suicidal Insanity
Suicidal Insanity shouted: Moose Naw - if that is an option, it should be a global option
agreed
[02:58 pm]
Pr0nogo -- no problem
[11:47 am]
rnDPrc -- Pr0nogo
Pr0nogo shouted: though idk if you can extract them from scr anymore since casc took effect, so you can download them here
Thank you :)
[11:28 am]
Suicidal Insanity -- Pr0nogo
Pr0nogo shouted: though idk if you can extract them from scr anymore since casc took effect, so you can download them here
SC:R still ships with all the old MPQs
[11:26 am]
Suicidal Insanity -- Otherwise it clutters up the UI and you have inconsistent names from location to location
[11:26 am]
Suicidal Insanity -- Moose
Moose shouted: Basically, anywhere that supports custom unit names should have an option to use the originals imo
Naw - if that is an option, it should be a global option
[11:10 am]
Pr0nogo -- though idk if you can extract them from scr anymore since casc took effect, so you can download them here
[11:08 am]
Pr0nogo -- rnDPrc
rnDPrc shouted: Where can I learn more about the default AI Scripts behavior? I'm having some problems here
extract the scripts using pympq and open them in pyai (using the python modding suite) and use nekron's guide as a reference
[10:57 am]
NudeRaider -- http://www.staredit.net/372001/ thou shalt not judge
[10:18 am]
rnDPrc -- I mean the Run AI Script trigger choices
Please log in to shout.


Members Online: Roy, Neiv, Grodeckies4, 2madisonc1791tN4