Staredit Network > Forums > Modding Assistance > Topic: Reading Trigger Action Parameters
Reading Trigger Action Parameters
May 28 2014, 5:50 pm
By: jjf28  

May 28 2014, 5:50 pm jjf28 Post #1

Cartography Artisan

Say I wanted to go about making my own actions by redirecting the trigger action function pointers to my own code, how would I get the action's parameters?

Ideally: is there a pointer to the current action somewhere?



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

May 28 2014, 9:58 pm trgk Post #2



Quote from jjf28
Say I wanted to go about making my own actions by redirecting the trigger action function pointers to my own code, how would I get the action's parameters?

Ideally: is there a pointer to the current action somewhere?

Pointer to trigger action is passed by register ecx when trigger action is called. (thiscall)

[attach=9514]

Attachments:
ex.png
Hits: 2 Size: 13.52kb



EUD

May 28 2014, 10:18 pm jjf28 Post #3

Cartography Artisan

thanks



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

May 30 2014, 7:15 am TF- Post #4

🤙🏾

I like where this is going..



🤙🏾

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2021-12-04. : 10:11 pm]
Ultraviolet -- DarkenedFantasies
DarkenedFantasies shouted: sraw531 It's misleading or incorrect by saying it's a brood war trigger. It's a "1.04 feature", only making it incompatible with the retail game version but it still works with both original and brood war 1.04+. If the trigger doesn't work for you, you messed something up.
ohh I see, still can have scm file, but it changes the format to SC hybrid map instead of just SC map
[2021-12-04. : 7:53 pm]
DarkenedFantasies -- sraw531
sraw531 shouted: anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
It's misleading or incorrect by saying it's a brood war trigger. It's a "1.04 feature", only making it incompatible with the retail game version but it still works with both original and brood war 1.04+. If the trigger doesn't work for you, you messed something up.
[2021-12-04. : 4:34 am]
Slyence -- Ohh. Sneaky emote. Hmmmm
[2021-12-04. : 4:01 am]
lil-Inferno -- Slyence
Slyence shouted: Does anyone know if Voyager is still around?
he is but you'll have way better lucc finding him on SEN discord
[2021-12-04. : 3:04 am]
Ultraviolet -- Slyence
Slyence shouted: Sorry about all the reminiscing. Just brings back the good Ole days.
we don't do that here :shifty:
[2021-12-04. : 3:03 am]
Ultraviolet -- sraw531
sraw531 shouted: anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
no idea why, but just confirmed through a small test that you're correct
[2021-12-04. : 3:01 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: NudeRaider *sigh* n
oh I didn't know wtf you were going for lol
[2021-12-04. : 2:43 am]
sraw531 -- literally just copied the trigger from the original map and changed the location name and it breaks...
[2021-12-04. : 2:33 am]
sraw531 -- trying to make a remake of Terran9, which has zerg and protoss who hate each other
[2021-12-04. : 2:32 am]
sraw531 -- anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
Please log in to shout.


Members Online: Roy, TheHappy115