Phasor
01.00.10.059
|
Object related functions for scripts. More...
Go to the source code of this file.
Classes | |
struct | halo::objects::s_halo_object |
struct | halo::objects::s_halo_biped |
struct | halo::objects::s_halo_weapon |
struct | halo::objects::s_halo_vehicle |
struct | halo::objects::s_object_creation_disposition |
struct | halo::objects::view_vector |
Namespaces | |
namespace | halo |
namespace | halo::objects |
Functions | |
void * | halo::objects::GetObjectAddress (ident objectId) |
bool | halo::objects::DestroyObject (ident objid) |
void | halo::objects::ClearManagedObjects () |
bool | halo::objects::CreateObject (ident mapid, ident parentId, int respawnTime, bool bRecycle, const vect3d *location, ident &out_objid) |
bool | halo::objects::AssignPlayerWeapon (s_player &player, ident weaponid) |
bool | halo::objects::EnterVehicle (s_player &player, ident m_vehicleId, DWORD seat) |
bool | halo::objects::ExitVehicle (s_player &player) |
void | halo::objects::MoveObject (s_halo_object &object, const vect3d &pos) |
bool | halo::objects::FindIntersection (const view_vector &view, const halo::ident &ignore_obj, vect3d &hit_pos, ident &hit_obj) |
int __stdcall | halo::objects::VehicleRespawnCheck (ident m_objId, s_halo_vehicle *obj) |
bool __stdcall | halo::objects::EquipmentDestroyCheck (int checkTicks, ident m_objId, s_halo_object *obj) |
void __stdcall | halo::objects::OnObjectDestroy (ident m_objid) |
Object related functions for scripts.
Important: If you pass an invalid object id to any of these functions, except for getobject
or gettagid
a Lua error is raised.
createobject
now takes the tag id, not tag type and name. You can use gettagid
to get a tag's id.