View Single Post
  #3  
Old 05-28-2012, 08:43 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Ah ok, now i understand.

At event OnActorCreated is no human player available. There only 'empty' actors are created.

A Player enters a plane (actor) with the OnPlaceEnter event:
Code:
public override void OnPlaceEnter(Player player, AiActor actor, int placeIndex)
{
        base.OnPlaceEnter(player, actor, placeIndex);

        //your code here
}
Reply With Quote