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.
[11:13 pm]
Suicidal Insanity -- There was a blue post to that effect, why would it be silly?
[08:37 pm]
NudeRaider -- Suicidal Insanity
Suicidal Insanity shouted: to do with the fact that macos is phasing out 32bit support
that would be silly but might still be true
[08:33 pm]
jjf28 -- there was a neat trick in 1.16.1 with the sprite structure... though it's not in SC:R
[07:43 pm]
Zoan -- I'll try it when I get home
[07:30 pm]
Zoan -- anyone know how to make selection persist through walking in fog of war with eud's? http://www.staredit.net/topic/7729/unread/#special
[02:17 pm]
Suicidal Insanity -- to do with the fact that macos is phasing out 32bit support
[02:17 pm]
Suicidal Insanity -- NudeRaider
NudeRaider shouted: The changes are all "under the hood" main reason for 64 bit is access to more than ~3.5GB RAM. Probably not relevant to Starcraft though.
it may, just maybe, just a littgle, havet
[2019-10-22. : 5:07 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider <3
even though I clearly put no effort into those arrows? :P
[2019-10-22. : 5:06 am]
NudeRaider -- http://i.snipboard.io/k3C9O2.jpg ... because all the main characters suffocated during this scene
Please log in to shout.


Members Online: Roy, brone12314, ozzybhai, Ferises3, Zoan