Возвращаемое значение#
| Тип | Значение |
|---|---|
none (MD action) |
Тип описывает объявленный интерфейс, а не успешный игровой эффект. |
Атрибуты XML#
| Атрибут | Тип из схемы | Обязателен |
|---|---|---|
chance |
expression |
нет |
weight |
expression |
нет |
comment |
comment |
нет |
normalcluster |
booleanexpression |
нет |
presentationcluster |
booleanexpression |
нет |
venturercluster |
booleanexpression |
нет |
explorationcluster |
booleanexpression |
нет |
macro |
expression |
нет |
owner |
owners |
нет |
trueowner |
owners |
нет |
coverowner |
owners |
нет |
policefaction |
owners |
нет |
negateownerfilter |
booleanexpression |
нет |
tag |
expression |
нет |
excluded |
expression |
нет |
grouptag |
expression |
нет |
shieldgrouptag |
expression |
нет |
state |
componentstateexprlookup |
нет |
integrated |
booleanexpression |
нет |
invulnerable |
booleanexpression |
нет |
hullinvulnerable |
booleanexpression |
нет |
shieldinvulnerable |
booleanexpression |
нет |
indestructible |
booleanexpression |
нет |
checkoperational |
booleanexpression |
нет |
functional |
booleanexpression |
нет |
surfaceelement |
booleanexpression |
нет |
module |
booleanexpression |
нет |
known |
booleanexpression |
нет |
knownto |
factionexprlookup |
нет |
isinliveview |
booleanexpression |
нет |
destination |
expression |
нет |
hastradeoffer |
booleanexpression |
нет |
tradesknownto |
factionexprlookup |
нет |
canhavedynamicinterior |
booleanexpression |
нет |
canhaveofferlocation |
expression |
нет |
freemissionofferslot |
booleanexpression |
нет |
freesignalleakslot |
booleanexpression |
нет |
numfreeactorslots |
expression |
нет |
freemissionactorslot |
freemissionactorslot |
нет |
masstraffic |
booleanexpression |
нет |
regionobject |
booleanexpression |
нет |
onlineobject |
booleanexpression |
нет |
venture |
expression |
нет |
visitor |
booleanexpression |
нет |
walkable |
booleanexpression |
нет |
haswalkableroom |
booleanexpression |
нет |
locked |
booleanexpression |
нет |
roompopulationtype |
roompopulationtypeexprlookup |
нет |
building |
booleanexpression |
нет |
busy |
booleanexpression |
нет |
hasbuildingtask |
booleanexpression |
нет |
hasfixedconstruction |
booleanexpression |
нет |
hasstagedconstruction |
booleanexpression |
нет |
canbebuiltby |
expression |
нет |
canbebuiltbyany |
expression |
нет |
canbuildfor |
factionexprlookup |
нет |
canbuildclass |
expression |
нет |
canbuildships |
booleanexpression |
нет |
canequipclass |
expression |
нет |
cansupplyclass |
expression |
нет |
canequipships |
expression |
нет |
cansupplyships |
expression |
нет |
canbuildequipment |
expression |
нет |
canbuildmacro |
expression |
нет |
waretransport |
waretransportlookup |
нет |
weaponmode |
weaponmodelookup |
нет |
weapontype |
weapontypelookup |
нет |
primarypurpose |
purposelookup |
нет |
deployable |
booleanexpression |
нет |
datavault |
booleanexpression |
нет |
landmark |
booleanexpression |
нет |
deployablecategory |
deployablecategorylookup |
нет |
mayattack |
expression |
нет |
maybeattackedby |
expression |
нет |
ishostileto |
expression |
нет |
canbepickedup |
booleanexpression |
нет |
commandeerable |
booleanexpression |
нет |
unit |
booleanexpression |
нет |
hascommander |
booleanexpression |
нет |
hascontrolentity |
controlpost |
нет |
capturable |
booleanexpression |
нет |
accelerator |
booleanexpression |
нет |
superhighwaygate |
booleanexpression |
нет |
active |
booleanexpression |
нет |
paused |
booleanexpression |
нет |
pausedmanually |
booleanexpression |
нет |
signalleaktype |
signalleaktypelookup |
нет |
extension |
expression |
нет |
personalextension |
expression |
нет |
covered |
booleanexpression |
нет |
canbedismantled |
booleanexpression |
нет |
canbetowed |
booleanexpression |
нет |
reachablefrom |
expression |
нет |
physicsareready |
booleanexpression |
нет |
canbelivestreamed |
booleanexpression |
нет |
internallystored |
booleanexpression |
нет |
accessgrantedto |
factionexprlookup |
нет |
accessrestrictedto |
factionexprlookup |
нет |
jobspacefor |
expression |
нет |
locationtag |
expression |
нет |
locationtagany |
expression |
нет |
append |
findappend |
нет |
multiple |
findmultiple |
нет |
required |
findrequired |
нет |
sortbydistanceto |
expression |
нет |
sortbygatedistancefrom |
expression |
нет |
sortbygatedistanceto |
expression |
нет |
sortbyvalue |
expression |
нет |
sortdescending |
booleanexpression |
нет |
sortlimit |
expression |
нет |
name |
lvaluename |
нет |
groupname |
groupname |
нет |
Действие MD может записать результат в именованную переменную или изменить мир. Это не возвращаемое значение Lua. Выходная переменная зависит от действия и атрибутов.
Пример и контекст#
Смотрите основы языка, типы и методы и события Lua / MD. Там приведены самостоятельные учебные примеры. Исходные файлы проектов и фрагменты их внутренней реализации в этом справочнике не распространяются.