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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-01-2011, 05:09 PM
stillborn stillborn is offline
Approved Member
 
Join Date: Sep 2010
Posts: 21
Default

Thanks, this would be useful.
Quote:
Originally Posted by adonys View Post
BTW, do you know any method to reference an AiActor from an AiAircraft
AiAircraft is a class derived from AiActor, type casting works both ways, ive tested it like this
Code:
    public override void OnPlaceEnter(Player player, AiActor actor, int placeIndex)
    {
        AiAircraft ac = actor as AiAircraft;
        AiActor ak = ac as AiActor;
        GamePlay.gpHUDLogCenter(ak.Name());
    }
Reply With Quote
 

Thread Tools
Display Modes

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 04:55 AM.


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