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.
[2026-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: Zycorax, Solstice245