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.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: eksxo