Russian: G.CreateACDropShip

From Data Realms Wiki

Revision as of 07:51, 26 June 2010 by Ximximik (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Функция
СинтаксисCreateACDropShip( (string,string) PresetName, .RTE Name )
Описание:
Создает объект типа ACDropShip, Если вместо имени .RTE оставляют пробел, оно ищет во всех файлах, иначе оно ищет в моде.
ВозвращаетACDropShip




Пример
ОписаниеСоздает дропшип в позиции (1642 , 605)
Код
ship = CreateACDropShip("Drop Ship MK1","Base.rte");
ship.Pos = Vector(1680 , 300);
ship.Team = self.CPUTeam;
ship:SetControllerMode(Controller.CIM_AI, 1);
MovableMan:AddActor(ship);
ВозвращаетACDropShip
Personal tools