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

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Is a .weapon destroyed when picked up?

Author Topic: Is a .weapon destroyed when picked up? (5 messages, Page 1 of 1)
Moderators: Dennis

Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Oct 11, 2011 01:41 AM    Msg. 1 of 5       
So if I have a .weapon (not an item_collection) placed on a map. If I then pick it up, is it considered destroyed if I were to use a script like:

if this weapon is destroyed, then execute some commands


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 11, 2011 12:09 PM    Msg. 2 of 5       
no, it still exists. you still refer to it by its object name. Anyways, you can only check unit's life anyway, there isnt even a script to check if a weapon is dead (until halo 2)


Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Oct 11, 2011 09:49 PM    Msg. 3 of 5       
Then could I use a trigger volume to say,

if this weapon passes through this trigger volume, execute these commands

?


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 11, 2011 10:14 PM    Msg. 4 of 5       
should be fine.


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 11, 2011 11:57 PM    Msg. 5 of 5       
thats just for any weapon of a certain tag location, following for his previous stuff, hes checking if a named weapon goes through. Anyways, there is no reason why a child shouldn't be found by a volume_test (when you carry weapons, they are childs. when your in a vehicle, your child to the vehicle, etc)

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 4:46 AM 141 ms.
A Halo Maps Website