SP Map Question

Discuss stuff related to HaloCE (for modding, go to the HEK General forum).
Post Reply
taterSALAD





Posts: 52
Joined: Sun Apr 02, 2006 4:29 pm
Location: Oklahoma City
Contact:

SP Map Question

Post by taterSALAD »

Ok, I want to make it where when you enter a certain trigger volume, it add a certain weapon to your inventory. Like when your objective takes you to an edge of a cliff, a Sniper Rifle and a pistol automaticly are placed into your inventory. I know the command "(player_add_equipment <unit> <starting_profile> <boolean>)" adds/resets the player's health, shield, and inventory (weapons and grenades) to the named profile. resets if third parameter is true, adds if false. But that only works on units. I want it to be added to the object_list (players). I think this is kind of like when you get the pistol in The Pillar of Autumn map. Can anyone help me?
[02/19/07 - RaVNzCRoFT] Signature removed. 510x152; 142kb.
p0lar_bear




Articulatist 250

Posts: 365
Joined: Wed Apr 20, 2005 8:17 am

Post by p0lar_bear »

To make the player into a unit:

(unit (list_get (players) 0))
taterSALAD





Posts: 52
Joined: Sun Apr 02, 2006 4:29 pm
Location: Oklahoma City
Contact:

Post by taterSALAD »

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[02/19/07 - RaVNzCRoFT] Signature removed. 510x152; 142kb.
taterSALAD





Posts: 52
Joined: Sun Apr 02, 2006 4:29 pm
Location: Oklahoma City
Contact:

Post by taterSALAD »

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! (O CRAP DOUBLE POST I CANT DELETE!!! AHHYH)
[02/19/07 - RaVNzCRoFT] Signature removed. 510x152; 142kb.
Post Reply