Entity bino =
g_Game.CreateObject(
"Binoculars",
"3312 0 854");
{
for (int i = 0; i < 10; ++i)
{
}
if (sz > 0)
{
bino2.GetCurrentInventoryLocation(src);
... use src and dst
}
}
FindInventoryLocationType
flags for searching locations in inventory
Super root of all classes in Enforce script.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.