作者Euglena (圣贤不过笼中影)
看板Paradox
标题Re: [问题] 如何在事件中解除武装
时间Sun Apr 13 00:59:25 2008
※ 引述《zhuwyu (juwyx)》之铭言:
: 请问如何在事件中解除某国武装
: 也就是删除某国的所有的部队
: 该怎样在 command = { } 中来下指令呢?
type = delete_unit which = [unit id type/-1/-2/-3] value = [unit id id]
# -1 is a random land unit -2 random naval unit -3 random air unit
(value will be ignored).
type = remove_division which = [div id type/-1] value = [div id id]
# Remove a division from the scenario. -1 is a random division
(the value field will be ignored).
type = remove_division which = "Exact Name" value = [country tag]
# Remove a named division from the scenario (for a certain country.)
type = damage_division which = [div id type/-1] value = [div id id] where = X
# where = Percent of Max Strength. Negative value is strength gain.
type = disorg_division which = [div id type/-1] value = [div id id] where = X
# where = Percent of Max Strength. Negative value is org gain.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 125.225.71.128
1F:→ Euglena:通常都挑第一种最好写 04/13 00:59
※ 编辑: Euglena 来自: 125.225.71.128 (04/13 01:04)