Quote:
Originally Posted by D_F_C
Hello all,
??? = Searchlight.150_cm_SearchLight_UK1
|
It has none, only actors have one and a searchlight seems to be no actor in normal way.
You can test it with this script:
Code:
using System;
using System.Collections;
using System.Collections.Generic;
using maddox.game;
using maddox.game.world;
public class Mission : AMission
{
public override void OnActorCreated(int missionNumber, string shortName, AiActor actor)
{
base.OnActorCreated(missionNumber, shortName, actor);
if(actor is AiAircraft)
GamePlay.gpLogServer(null, "Actor Internalname: {0}", new object[] { (actor as AiAircraft).InternalTypeName() });
if (actor is AiGroundActor)
GamePlay.gpLogServer(null, "Actor Internalname: {0}", new object[] { (actor as AiGroundActor).InternalTypeName() });
}
}