Method GameObject:SetLootState [-] [+]

Sets the [LootState] of a GameObject Below are [LootState]s off of 3.3.5a

enum LootState
{
    GO_NOT_READY = 0,
    GO_READY,                                               // can be ready but despawned, and then not possible activate until spawn
    GO_ACTIVATED,
    GO_JUST_DEACTIVATED
};

Synopsis

GameObject:SetLootState( state )

Arguments

LootState state

All available loot states can be seen above.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine