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.
[10:51 am]
Oh_Man -- :wob:
[08:15 am]
UndeadStar -- :wob:
[06:02 am]
Ultraviolet -- :wob:
[04:48 am]
Heinermann -- :wob:
[04:34 am]
Zycorax -- :wob:
[01:44 am]
RIVE -- :wob:
[10:31 pm]
NudeRaider -- :wob:
[10:14 pm]
Symmetry -- :wob:
[2026-9-17. : 3:28 pm]
Vrael -- :wob:
[2026-9-17. : 1:28 am]
Moose -- :wob:
Please log in to shout.


Members Online: Rawflesh0615, NimoStar