Lua RemoveFromWorldGO

From ArcEmu-Wiki
Jump to: navigation, search
+/-
Main Page        LuaArcEmu Website     ArcEmu Forum     Bug Tracker



 :RemoveFromWorld()

Syntax

pGameObject:RemoveFromWorld()

Removes a Game Object from the world. It doesn't delete it in the database.

Example

PerformIngameSpawn(2, 179697, 0, -13203, 277, 22, 4.18, 100, 0)
--
-- ... do something
--
local pChest = pUnit:GetGameObjectNearestCoords(-13203, 277, 22, 179697) 
pChest:RemoveFromWorld()
Personal tools