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.
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
Please log in to shout.


Members Online: Prankenstein