Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old 12-31-2011, 01:38 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Yes, it certainly is tricky Kodiak With the method I have to get statics in-game, I can trap their x,y pos & static name, but as you say, there is no easy method to destroy them (remove them from mission/battle)
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.