LedgeTheDev has contributed to 2 posts out of 465278 total posts
(0.00%) in 2,745 days (0.00 posts per day).
20 Most recent posts:
Quote: --- Original message by: Btcc22 This list isn't complete because it was intended to be a stopgap solution - OpenSauce might have a better list.
FALLING_DEATH = 1, GUARDIAN_KILL, (2) VEHICLE_KILL, (3) PLAYER_KILL, (4) BETRAYED, (5) SUICIDE, (6) LOCAL_DOUBLE_KILL, (7) LOCAL_KILLED_PLAYER, (8) LOCAL_TRIPLE_KILL, (9) LOCAL_KILLTACULAR, (10) LOCAL_KILLING_SPREE, (11) LOCAL_RUNNING_RIOT = 14, BETRAYED_PLAYER = 13, RACE_LAP_COMPLETE = 32, FLAG_CAPTURED = 33, UNKNOWN_CTF = 34, //won? UNKNOWN_CTF_2 = 35, //lost? PLAYER_FLAG_RETURN = 37, RACE_FASTEST_LAP = 38, ENEMY_RETURNED_FLAG = 40, ALLY_STOLE_FLAG = 41, ALLY_RETURNED_FLAG = 42, FRIENDLY_FLAG_IDLE_RETURNED = 43, ENEMY_FLAG_IDLE_RETURNED = 44
Where would I find them in open sauce?
So I wanted to customize my HAC2 medal script to fit my personal preference. I just wanted to know where to find the Halo event ID numbers so I can do this or if it is something unique to HAC2.
Here is a snippet of the code to show you what I mean:
function player_environmental_death(event, victim, player, timestamp) if(victim == player) then if(event == 6) then queue_audio("audio/suicide.mp3") end spree = 0 lastDeath = timestamp else spreeCounters[victim] = 0 end end
function ctf_events(event, killer, victim, player, timestamp) if(event == 33) then display("Flag Captured!", "images/flag_score.png", "audio/flag_captured.mp3") end end
Any help would be greatly appreciated.
Thank you.
|