A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
Viewing User Profile for: LedgeTheDev
About Contact
Joined: Jul 16, 2015 07:45 PM
Last Post: Jul 17, 2015 09:51 AM
Last Visit: Jul 28, 2015 06:54 PM
Location:
Occupation:
Interests:
Your Age:
What Games do you play: Halo


Send Private Message
Post Statistics
LedgeTheDev has contributed to 2 posts out of 469346 total posts (0.00%) in 1,530 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.


Time: Sun September 22, 2019 1:07 PM 156 ms.
A Halo Maps Website