03-04-2005 12:45
integer llGetInventoryType(string name)

returns the type of the inventory value of name. If name is not in the object then INVENTORY_UNKNOWN is returned, otherwise it would return the appropriat INVENTORY_* flag. This would work well with the new INVENTORY_ALL flag as to allow for inventory types to be identified and handled without having to search for the type by brute force.

INVENTORY_UNKNOWN would be only for llGetInventoryType as a return type using it in any other llGetInventory* function would have no effect.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey