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:41 pm]
razorback9423 -- NudeRaider
NudeRaider shouted: MTiger156 power over:wob:ing?
No, POWER UNDER :wob: ing!
[12:53 pm]
NudeRaider -- MTiger156
MTiger156 shouted: Power over:wob:ing
power over:wob:ing?
[12:27 pm]
MTiger156 -- crap...
[12:27 pm]
MTiger156 -- Power over:wob:ing
[11:50 am]
UEDCommander -- WARNING: Unit Unplaceable! (u) (69, 69)
[09:26 am]
lil-Inferno -- :wob:
[08:25 am]
Black_Overseer -- razorback9423
razorback9423 shouted: WARNING: Unit Unplaceable! (Aldaris) (1656,2996)
You have no power here, Gandalf the Grey.
[05:43 am]
razorback9423 -- WARNING: Unit Unplaceable! (Aldaris) (1656,2996)
[05:27 am]
razorback9423 -- stop
[05:27 am]
NudeRaider -- :wob: you can't :wob: us
Please log in to shout.


Members Online: Roy, rthernickrati43, NudeRaider, MTiger156