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 »Object Lists besides (players) ?

Author Topic: Object Lists besides (players) ? (2 messages, Page 1 of 1)
Moderators: Dennis

OrangeJuice
Joined: Jan 29, 2009

Documentation and debug.txt


Posted: Jul 14, 2016 03:58 AM    Msg. 1 of 2       
are there any object lists besides (players)? And if so, how do I find out the names of them ?

Ohh! ! And is there a way to get the unit names (or just interact. period.) with un-named objects, like the cheat_spawn_warthog warthog ?
Edited by OrangeJuice on Jul 14, 2016 at 04:29 AM


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Jul 14, 2016 11:57 AM    Msg. 2 of 2       
Quote: --- Original message by: OrangeJuice
are there any object lists besides (players)? And if so, how do I find out the names of them ?

(ai_actors <ai>)

You can also use global variables to create your own, although it'll only have one object in it.

Quote: --- Original message by: OrangeJuice
Ohh! ! And is there a way to get the unit names (or just interact. period.) with un-named objects, like the cheat_spawn_warthog warthog ?

They don't have names, so you most certainly cannot obtain a name that doesn't exist. With stock halo, there isn't anything you can do about those objects. With Opensauce, you can use
(player_data_get_object <short> "nearest_object")
to return any object that has an interaction prompt on that player's screen (vehicles, devices, weapons), as well as store that in global variables. You can store it in any object type variable, although none of the object_name type variables (since its not a name; its an actual object).

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 3:54 AM 141 ms.
A Halo Maps Website