View Single Post
  #4  
Old 12-31-2011, 01:15 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

I don't know, but i think Ataros misinterpreted your question.

With destroy we mean the remove of a object from a map.
The class member to use is Destroy(), the problem with the static objects is that there is no way to get a handler to them.

Normally we can use GamePlay.gpActorByName(Name) but if we insert the Name of a static object. The Value is Null, so it's not possible.
Also can we use a List to store them but with OnActorCreated we get only AiActors and no statics.

But maybe there is a way, but i never found it.
Reply With Quote