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:34 pm]
lil-Inferno -- whats mine is mine
[05:07 am]
l)ark_ssj9kevin -- oops meant to get free minerals
[05:06 am]
l)ark_ssj9kevin -- show me the money
[01:46 am]
Moose -- I just wanted to say hi to Nekron
[01:46 am]
Moose -- Nekron
[2026-11-01. : 9:46 pm]
ihjel -- whoops meant to search ;p
[2026-11-01. : 9:46 pm]
ihjel -- Nekron
[2026-11-01. : 6:15 pm]
UndeadStar -- reinssanance ?
[2026-11-01. : 5:46 pm]
l)ark_ssj9kevin -- ya
[2026-11-01. : 5:45 pm]
Symmetry -- Nah that's me :hurr:
Please log in to shout.


Members Online: Zoan, ihjel, Moose