| scardoc;Command |
| Functions |
| Cmd_AbandonTeamWeapon( SGroupID sgroupid, Boolean OPT_preserveCrew, Boolean OPT_queued ) | |
|
命令小队组放弃当前装备的团队武器(如果他们拥有且可以放弃,由属性编辑器中的调优值决定)。【功能:命令小队放弃团队武器】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1651) | |
| Cmd_Ability( EGroupID user, Integer blueprint, EGroupID OPT_target, Position OPT_direction, Boolean OPT_skipCostPrereq, Boolean OPT_queued ) | |
|
向玩家、实体组或小队组发送技能命令。如果技能需要额外参数,则提供这些参数。【功能:发送技能命令】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1226) | |
| Cmd_AttachSquads( SGroupID sgroup, SGroupID sgroupAttachee ) | |
|
将sgroupnameAttachee中的小队附加到sgroupname。两个小队组都必须只包含一个小队。【功能:附加小队】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1409) | |
| Cmd_Attack( SGroupID sgroup, EGroupID target, Boolean OPT_queued, Boolean OPT_stationary, String OPT_plan, Boolean OPT_check FOW ) | |
|
向小队组下达攻击命令。【功能:下达攻击命令】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (653) | |
| Cmd_AttackMove( SGroupID sgroup, Position targetposition, Boolean OPT_queued, String OPT_plan, Real OPT_coverSearchRadius, Boolean OPT_deleteOnArrival, Boolean OPT_splitCmd ) | |
|
命令小队组攻击移动到指定位置(任何可查询位置的对象)。可以排队执行,可以跟随计划,可以在指定半径内寻找掩体。【功能:攻击移动命令】 The sgroup can optionally be deleted on arriving within proximity of the marker or within a radius of 10 if there is no marker proximity. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (705) | |
| Cmd_AttackMoveThenCapture( SGroupID attacker, EGroupID target, Boolean OPT_queued ) | |
|
命令攻击者小队组攻击移动到战略点目标;当战略点可被占领时,小队组将占领它。【功能:攻击移动后占领】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1556) | |
| Cmd_CaptureTeamWeapon( SGroupID sgroupid, EGroupID targetid, Boolean OPT_queued ) | |
|
命令小队组捕获团队武器实体组。【功能:捕获团队武器】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1611) | |
| Cmd_Construct( SGroupID sgroupid, Entity blueprint, EGroupID targetid, Position OPT_Facing, Boolean OPT_queued ) | |
|
命令小队在指定位置建造建筑,或继续建造现有建筑。【功能:建造建筑】 The command also checks to see if a building already exists at the location, and the squad will continue building it, if it is of the correct type. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1816) | |
| Cmd_DetonateDemolitions( PlayerID player, EGroupID target, Boolean OPT_queued ) | |
|
引爆建筑物的爆破装置。【功能:引爆爆破装置】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1797) | |
| Cmd_EjectOccupants( EGroupID fromgroupid, Position OPT_destination, Boolean OPT_queued ) | |
|
命令实体组或小队组驱逐其内部的乘员。如果未指定位置,乘员将停留在出口处。【功能:驱逐乘员】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (984) | |
| Cmd_Garrison( SGroupID fromsgroupid, EGroupID togroupid, Boolean OPT_overload, Boolean OPT_queued, Boolean OPT_instant ) | |
|
命令小队组进驻到组内随机实体或小队中。【功能:进驻命令】 overload is a flag that will allow the hold entity to ignore maximum slot check |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (932) | |
| Cmd_HoldPosition( SGroupID sgroup, Boolean OPT_location, Boolean OPT_queued ) | |
|
命令小队组在指定位置(或当前位置)坚守阵地。【功能:坚守阵地】 The location parameter can be a position (to hold position at that location), or a Boolean to enable/disable HoldPosition at the current location. If it's omitted entirely, it defaults to true. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (901) | |
| Cmd_InstantReinforceUnit( SGroupID sgroup, Integer count ) | |
|
向组内所有小队发送即时增援命令。count表示要发送的命令数量。【功能:即时增援】 Note: This function bypasses pre-reqs, costs and the production queue |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1155) | |
| Cmd_InstantSetupTeamWeapon( SGroupID sgroupid, Boolean OPT_queued ) | |
|
命令小队组立即架设团队武器,不播放动画。【功能:立即架设团队武器】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1677) | |
| Cmd_InstantUpgrade( EGroupID target, Integer blueprint, Integer OPT_count ) | |
|
向玩家、实体组或小队组发送即时升级命令。接受单个升级或升级表。【功能:即时升级】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1215) | |
| Cmd_Move( SGroupID sgroup, EGroupID position, Boolean OPT_queued, Boolean OPT_deleteOnArrival, Position OPT_facing, Integer OPT_offset, Real OPT_distance, Real OPT_coverSearchRadius, Boolean OPT_splitCmd ) | |
|
将小队组移动到指定位置。【功能:移动小队】 Supports facing, 'offset' movement, and can find cover. The sgroup can optionally be deleted on arriving within proximity of the marker or within a radius of 10 if there is no marker proximity. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (41) | |
| Cmd_MoveAwayFromPos( SGroupID sgroup, Pos position, Integer radius, Boolean OPT_queued ) | |
|
将小队组从某位置移出至指定半径之外。【功能:远离位置移动】 All squads in the group will move away from the centre position from its current position |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (411) | |
| Cmd_MoveToAndDeSpawn( SGroupID sgroup, MarkerID marker, Boolean queued ) | |
|
将小队组移动到指定标记点并取消生成。【功能:移动后取消生成】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1537) | |
| Cmd_MoveToAndDestroy( SGroupID sgroup, MarkerID marker, Boolean queued ) | |
|
将小队组移动到指定标记点并销毁它。【功能:移动后销毁】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1519) | |
| Cmd_MoveToClosestMarker( SGroupID sgroup, Table markertable ) | |
|
将小队组移动到标记ID列表/表中最近的标记点。【功能:移动到最近标记点】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1477) | |
| Cmd_MoveToThenAttackMove( SGroupID sgroup, EGroupID position, Integer OPT_distance, Boolean OPT_ANY, Boolean OPT_queued ) | |
|
将小队组移动到指定位置,接近目标后转为攻击移动。【功能:移动后攻击移动】 Squad will move to a position, once they're within 'distance', they will attack-move the rest of the way. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (223) | |
| Cmd_MoveToThenCapture( SGroupID attacker, EGroupID target, Boolean OPT_queued ) | |
|
命令攻击者小队组攻击移动到战略点目标;当战略点可被占领时,小队组将占领它。【功能:移动后占领】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1583) | |
| Cmd_RecrewVehicle( SGroupID sgroupid, EGroupID targetid, Boolean OPT_queued ) | |
|
命令小队组重新驾驶被遗弃的载具。【功能:重新驾驶载具】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1631) | |
| Cmd_ReinforceUnit( SGroupID sgroup, Integer count ) | |
|
向组内所有小队发送增援命令。count表示要发送的命令数量。【功能:增援单位】 Note: To reinforce squad bypassing the pre-reqs and costs use Cmd_InstantReinforceUnit. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1131) | |
| Cmd_Retreat( SGroupID sgroup, Position OPT_location, Boolean OPT_deleteOnArrival, Boolean OPT_queued, Boolean OPT_saveEncounters, Boolean OPT_vulnerableRetreat ) | |
|
命令小队组撤退,可选择撤退到指定位置。【功能:撤退命令】 vulnerableRetreat will make retreating squads take more damage. The sgroup can optionally be deleted on arriving within proximity of the marker or within a radius of 10 if there is no marker proximity. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (747) | |
| Cmd_RevertOccupiedBuilding( SGroupID sgroupid, EGroupID targetid, Boolean OPT_queued ) | |
|
命令小队组恢复被占领的建筑。【功能:恢复被占领建筑】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1763) | |
| Cmd_SetDemolitions( SGroupID sgroupid, EGroupID targetid, Boolean OPT_skipCostPrereq, Boolean OPT_queued ) | |
|
命令小队组在建筑物(实体组)上放置爆破炸药。如果实体组无法被引爆,或玩家负担不起爆破费用,则函数不执行任何操作。【功能:设置爆破装置】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1783) | |
| Cmd_SetupTeamWeapon( SGroupID sgroupid, Boolean OPT_queued ) | |
|
命令小队组架设团队武器,播放动画。【功能:架设团队武器】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1696) | |
| Cmd_SquadCamouflageStance( SGroupID sgroup, CamouflageStanceID stanceid ) | |
|
向组内所有小队发送伪装姿态命令。stanceid应为Util_GetCamouflageStanceID(stancename)返回的数值。【功能:设置伪装姿态】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1105) | |
| Cmd_SquadPath( SGroupID sgroup, String pathName, Boolean bFromClosest, Integer loop, Boolean bAttackMove, Real pauseTime, Boolean OPT_queued, Boolean OPT_bMoveForward ) | |
|
向小队发送沿路径移动的命令。可以在每个路径点等待。【功能:路径移动】 loop can be: LOOP_NONE, LOOP_NORMAL, LOOP_TOGGLE_DIRECTION. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (472) | |
| Cmd_SquadPatrolMarker( SGroupID sgroup, MarkerID marker ) | |
|
使小队在标记点巡逻,攻击进入其半径范围内的任何敌人。如果用于圆形标记,半径必须至少为5。要停止小队巡逻标记点,请使用Cmd_Stop。【功能:标记点巡逻】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (511) | |
| Cmd_StaggeredRetreat( SGroupID sgroup, Table markers, Integer OPT_maxTries, Boolean OPT_vulnerableRetreat ) | |
|
以交错、逼真的方式撤退大量单位。【功能:交错撤退】 Each Squad in the sgroup will have a 1 in 3 chance to retreat. After 10 seconds (or maxTries), all squads will be forced to retreat. Squads will delete on arrival at their retreat point. vulnerableRetreat will make retreating squads take more damage |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (829) | |
| Cmd_Stop( EGroupID group ) | |
|
向实体组或小队组发送停止命令。【功能:停止命令】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1444) | |
| Cmd_Surrender( SGroupID sgroupid , Integer OPT_actionpoints, Position OPT_exitpos, Boolean OPT_deleteAtExit, Boolean OPT_removeWeapon ) | |
|
命令小队投降,并奖励本地玩家相应数量的行动点数。【功能:投降命令】 Use the optional parameter to assign action points to override the default number. The function automatically addresses squads that are in buildings or vehicles by ordering them out of the vehicle. The command will also overwrite the exit position as well, if you do not want the squads to exit at the map entry point. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1888) | |
| Cmd_UngarrisonSquad( SGroupID sgroupid, Position OPT_destination, Boolean OPT_queued ) | |
|
命令小队组离开其所在的建筑或载具。如果未指定位置,小队组将停留在出口处。【功能:撤离建筑/载具】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1043) | |
| Cmd_Upgrade( EGroupID user, Integer blueprint, Integer OPT_count, Boolean OPT_instant ) | |
|
向玩家、实体组或小队组发送升级命令。接受单个升级或升级表。【功能:升级命令】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (1167) | |
| Cmd_WalkToAndThenRun( SGroupID sgroup, EGroupID position, Real speedMultiplier, Integer OPT_distance = 10, Boolean OPT_ANY = ANY, Boolean OPT_queued = false ) | |
|
将小队的单位速度设置为乘数值,到达目标后恢复原速度,速度不能为0.0f。【功能:变速移动】 Squad will move to a position, once they're within 'distance', they will revert back to their original speed. ANY means any squad in the group within distance meets criteria, ALL means ALL squads. Queued means the command is queued if true as a command, rather than executing immediately. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\command.scar] (112) | |
| LocalCommand_Entity( PlayerID player, EGroupID egroup, EntityCommandType entityCommand ) | |
|
向实体组发送实体命令(CMD_DefaultAction、CMD_Stop、CMD_Destroy、CMD_BuildSquad、CMD_CancelProduction、CMD_RallyPoint、CMD_AttackForced)。【功能:实体命令】 Entity commands are mostly used for buildings etc. If you need to issue commands to units, use the Squad_Command function. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1613) | |
| LocalCommand_EntityAbility( PlayerID player, EGroupID egroup, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向实体发送实体技能命令(CMD_Ability)。【功能:实体技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1786) | |
| LocalCommand_EntityBuildSquad( PlayerID player, EGroupID egroup, ScarSquadPBG squadPbg ) | |
|
向实体组发送带有自定义数据的小队命令。【功能:实体建造小队命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1745) | |
| LocalCommand_EntityEntity( PlayerID player, EGroupID egroup, EntityCommandType entityCommand, EGroupID target ) | |
|
向实体组发送基于实体的命令。【功能:实体对实体命令】 Use this function to issue orders that require a entity to an entity group (eg. order a building to attack another building)\n See LocalCommand_Entity for a list of all the possible entityCommands. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1646) | |
| LocalCommand_EntityExt( PlayerID player, EGroupID egroup, EntityCommandType entityCommand, Integer cmdparam, Boolean queued ) | |
|
向小队组发送带有自定义数据的小队命令。【功能:扩展实体命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1729) | |
| LocalCommand_EntityPos( PlayerID player, EGroupID egroup, EntityCommandType entityCommand, Position target ) | |
|
向实体组发送位置命令。【功能:实体位置命令】 Use this function to issue orders that require a position to an entity group (eg. set a rally point for a building)\n See LocalCommand_Entity for a list of all the possible entityCommands. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1628) | |
| LocalCommand_EntityPosAbility( PlayerID player, EGroupID egroup, Position pos, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向实体发送位置技能命令(CMD_Ability)。【功能:实体位置技能命令】 Use this function to issue ability orders that require a position to player |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1824) | |
| LocalCommand_EntityPosDirAbility( PlayerID player, EGroupID egroup, Position pos, Position dir, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向实体发送位置/方向技能命令(CMD_Ability)。【功能:实体位置方向技能命令】 Use this function to issue ability orders that require a position and a direction to player |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1864) | |
| LocalCommand_EntityPosSquad( PlayerID player, EGroupID egroup, EntityCommandType entityCommand, Position target, SGroupID sgroup ) | |
|
向实体组发送双目标(位置和小队)命令。【功能:实体位置小队命令】 Use this function to issue orders that require a position and a squad to an entity group (eg. unloading squad from hold)\n See LocalCommand_Entity for a list of all the possible entityCommands. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1699) | |
| LocalCommand_EntitySquad( PlayerID player, EGroupID egroup, EntityCommandType entityCommand, SGroupID target ) | |
|
向实体组发送基于小队的命令。【功能:实体小队命令】 Use this function to issue orders that require a squad to an entity group (eg. order a building to attack a squad)\n See LocalCommand_Entity for a list of all the possible entityCommands. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1670) | |
| LocalCommand_EntityTargetEntityAbility( PlayerID player, EGroupID egroup, EntityID entityTarget, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向实体发送以实体为目标的技能命令(CMD_Ability)。【功能:实体目标实体技能命令】 Use this function to issue ability orders that require an entity target to an entity |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1904) | |
| LocalCommand_EntityTargetSquadAbility( PlayerID player, EGroupID egroup, SquadID squadTarget, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向实体发送以小队为目标的技能命令(CMD_Ability)。【功能:实体目标小队技能命令】 Use this function to issue ability orders that require an entity target to an entity |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1944) | |
| LocalCommand_EntityUpgrade( PlayerID player, EGroupID egroup, ScarUpgradePBG upgrade, Boolean instant, Boolean queued ) | |
|
向实体组发送带有自定义数据的小队命令。【功能:实体升级命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1766) | |
| LocalCommand_Player( PlayerID player, PlayerID dest, PlayerCommandType playerCommand ) | |
|
向玩家发送玩家命令。【功能:玩家命令】 PCMD_Ability |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (519) | |
| LocalCommand_PlayerAbility( PlayerID player, PlayerID dest, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq ) | |
|
向玩家发送玩家技能命令(PCMD_Ability)。【功能:玩家技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (597) | |
| LocalCommand_PlayerEntity( PlayerID player, PlayerID dest, PlayerCommandType playerCommand, EGroupID target ) | |
|
向玩家发送实体命令。【功能:玩家实体命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (553) | |
| LocalCommand_PlayerExt( PlayerID player, PlayerID dest, PlayerCommandType playerCommand, Integer cmdparam, Boolean queued ) | |
|
向玩家发送带有自定义标志的玩家命令。【功能:扩展玩家命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (476) | |
| LocalCommand_PlayerMultiTargetAbility( PlayerID caster, vector<ConstTargetHandle> targets, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq ) | |
|
向玩家发送命令,对指定目标使用多目标技能。【功能:玩家多目标技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (699) | |
| LocalCommand_PlayerPlaceAndConstructEntitiesPlanned( PlayerID player, ScarEntityPBG ebp, Position position, Position facingPos, Boolean queued, Boolean payOnApply ) | |
|
放置计划中的建筑结构。【功能:放置计划建筑】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2143) | |
| LocalCommand_PlayerPlaceAndConstructFencePlanned( PlayerID player, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued, Boolean payOnApply ) | |
|
放置计划中的围栏。【功能:放置计划围栏】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2178) | |
| LocalCommand_PlayerPlaceAndConstructSlottedSplineConstructed( PlayerID player, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued, Boolean payOnApply ) | |
|
放置已建造的槽位样条。【功能:放置已建造槽位样条】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2244) | |
| LocalCommand_PlayerPlaceAndConstructSlottedSplinePlanned( PlayerID player, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued, Boolean payOnApply ) | |
|
放置计划中的槽位样条。【功能:放置计划槽位样条】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2211) | |
| LocalCommand_PlayerPos( PlayerID player, PlayerID dest, PlayerCommandType playerCommand, Position pos ) | |
|
向玩家发送位置命令。【功能:玩家位置命令】 Use this function to issue orders that require a position to player)\n See LocalCommand_Player for a list of all the possible playerCommands. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (536) | |
| LocalCommand_PlayerPosAbility( PlayerID player, PlayerID dest, Position pos, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq ) | |
|
向玩家发送位置技能命令(PCMD_Ability)。【功能:玩家位置技能命令】 Use this function to issue ability orders that require a position to player |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (631) | |
| LocalCommand_PlayerPosDirAbility( PlayerID player, PlayerID dest, Position pos, Position dir, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq ) | |
|
向玩家发送位置/方向技能命令(PCMD_Ability)。【功能:玩家位置方向技能命令】 Use this function to issue ability orders that require a position and a direction to player |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (666) | |
| LocalCommand_PlayerPosExt( PlayerID player, PlayerID dest, PlayerCommandType playerCommand, Position pos, Integer cmdparam, Boolean queued ) | |
|
向玩家发送带有额外信息的位置命令。【功能:扩展玩家位置命令】 Use this function to issue orders that require a position to player\n See LocalCommand_Player for a list of all the possible playerCommands. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (579) | |
| LocalCommand_PlayerSquadConstructBuilding( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position position, Position facingPos, Boolean queued ) | |
|
向玩家自身发送命令,命令小队组中的小队在指定位置和朝向建造建筑。【功能:玩家小队建造建筑】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building would cost nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2281) | |
| LocalCommand_PlayerSquadConstructBuildingCheat( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position position, Position facingPos, Boolean queued ) | |
|
向玩家自身发送命令,命令小队组中的小队在指定位置和朝向建造建筑(作弊模式)。【功能:玩家小队建造建筑(作弊)】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building would cost nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2446) | |
| LocalCommand_PlayerSquadConstructFence( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued ) | |
|
向玩家自身发送命令,命令小队组中的小队从posStart到posEnd建造围栏。【功能:玩家小队建造围栏】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building would cost nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2306) | |
| LocalCommand_PlayerSquadConstructFenceCheat( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued ) | |
|
向玩家自身发送命令,命令小队组中的小队从posStart到posEnd建造围栏(作弊模式)。【功能:玩家小队建造围栏(作弊)】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building would cost nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2466) | |
| LocalCommand_PlayerSquadConstructField( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued ) | |
|
向玩家自身发送命令,命令小队组中的小队从posStart到posEnd建造农田。【功能:玩家小队建造农田】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building would cost nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2329) | |
| LocalCommand_PlayerSquadConstructFieldCheat( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued ) | |
|
向玩家自身发送命令,命令小队组中的小队从posStart到posEnd建造农田(作弊模式)。【功能:玩家小队建造农田(作弊)】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building would cost nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2486) | |
| LocalCommand_PlayerSquadConstructSlottedSpline( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued ) | |
|
从玩家向小队组发送命令,将ebp建造为从posStart到posEnd的槽位样条。【功能:玩家小队建造槽位样条】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building costs nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2352) | |
| LocalCommand_PlayerSquadConstructSlottedSplineCheat( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position posStart, Position posEnd, Boolean queued ) | |
|
从玩家向小队组发送命令,将ebp建造为从posStart到posEnd的槽位样条(作弊模式)。【功能:玩家小队建造槽位样条(作弊)】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building costs nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2505) | |
| LocalCommand_PlayerSquadConstructSlottedSplineDependent( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position position, Position facingPos, Boolean queued ) | |
|
从玩家向小队组发送命令,将ebp建造为槽位样条依赖实体。【功能:玩家小队建造槽位样条依赖实体】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building costs nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2381) | |
| LocalCommand_PlayerSquadConstructSlottedSplineDependentCheat( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position position, Position facingPos, Boolean queued ) | |
|
从玩家向小队组发送命令,将ebp建造为槽位样条依赖实体(作弊模式)。【功能:玩家小队建造槽位样条依赖实体(作弊)】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building costs nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2524) | |
| LocalCommand_PlayerSquadConstructSlottedSplineReplacer( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position position, Position facingPos, Boolean queued ) | |
|
从玩家向小队组发送命令,将ebp建造为槽位样条替换实体。【功能:玩家小队建造槽位样条替换实体】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building costs nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2412) | |
| LocalCommand_PlayerSquadConstructSlottedSplineReplacerCheat( PlayerID player, SGroupID sgroup, ScarEntityPBG ebp, Position position, Position facingPos, Boolean queued ) | |
|
从玩家向小队组发送命令,将ebp建造为槽位样条替换实体(作弊模式)。【功能:玩家小队建造槽位样条替换实体(作弊)】 structureBlueprint must be a valid building that can be constructed by the sgroup. This building costs nothing and does not effect population and availability This is a special command for SCAR use |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2543) | |
| LocalCommand_PlayerUpgrade( PlayerID player, ScarUpgradePBG upgrade, Boolean instant, Boolean queued ) | |
|
向玩家发送升级命令。【功能:玩家升级命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (494) | |
| LocalCommand_Squad( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, Boolean queued ) | |
|
向小队组发送小队命令。【功能:小队命令】 SCMD_DefaultAction, SCMD_Move, SCMD_Stop, SCMD_Destroy, SCMD_BuildStructure, SCMD_Capture, SCMD_Attack, SCMD_ReinforceUnit, SCMD_Upgrade, SCMD_CancelProduction SCMD_AttackMove, SCMD_Ability SCMD_Load,SCMD_UnloadSquads, SCMD_DoPlan SCMD_SlotItemRemove, SCMD_InstantReinforceUnit, SCMD_InstantUpgrade |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1030) | |
| LocalCommand_SquadAbility( PlayerID player, SGroupID sgroup, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向小队发送技能命令(SCMD_Ability)。【功能:小队技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (775) | |
| LocalCommand_SquadAttackMovePos( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, Position target, String planName, Boolean queued, Boolean split ) | |
|
向小队组发送带有自定义数据的位置攻击移动命令。【功能:小队攻击移动命令】 WARNING: Element plans need to be reimplemented in state trees. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1300) | |
| LocalCommand_SquadEntity( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, EGroupID target, Boolean queued ) | |
|
向小队组发送实体命令。【功能:小队实体命令】 Use this function to isssue an entity-based command to a squad group.\n See LocalCommand_Squad for a list of all the possible squadCommands |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1215) | |
| LocalCommand_SquadEntityAbility( PlayerID player, SGroupID sgroup, EGroupID target, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向小队发送实体技能命令(SCMD_Ability)。【功能:小队实体技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (830) | |
| LocalCommand_SquadEntityAttack( PlayerID player, SGroupID sgroup, EGroupID target, Boolean bCheckFOW, Boolean bStationary, String planName, Boolean queued ) | |
|
向小队组发送实体攻击命令。【功能:小队实体攻击命令】 Use this function to issue an entity-based command to a squad group with custom FOW check flag. (eg. order a squad to attack a building)\n planName is the name of the custom plan file to execute. Pass in empty string to use the default\n stationary flag uses SCMD_StationaryAttack instead where plan file is ignored and squad does not pursue its target See LocalCommand_Squad for a list of all the possible squadCommands WARNING: Element plans need to be reimplemented in state trees. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1367) | |
| LocalCommand_SquadEntityBool( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, EGroupID target, Boolean cmdparam, Boolean queued ) | |
|
向小队组发送带有自定义布尔数据的实体命令。【功能:小队实体布尔命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1270) | |
| LocalCommand_SquadEntityExt( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, EGroupID target, Integer cmdparam, Boolean queued ) | |
|
向小队组发送带有自定义数据的实体命令。【功能:扩展小队实体命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1242) | |
| LocalCommand_SquadEntityLoad( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, EGroupID target, Boolean bOverLoad, Boolean queued ) | |
|
向小队组发送带有小队装载参数的特殊小队命令。【功能:小队装载命令】 This is a special command for loading squads into building (entity) holds (SCMD_Load, SCMD_InstantLoad) |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2593) | |
| LocalCommand_SquadExt( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, Integer cmdparam, Boolean queued ) | |
|
向小队组发送带有自定义数据的小队命令。【功能:扩展小队命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (992) | |
| LocalCommand_SquadMovePos( PlayerID player, SGroupID sgroup, Position target, Boolean queued, Boolean reverseMove, Boolean split, Real acceptableProximity ) | |
|
向小队组发送移动到位置命令。【功能:小队移动命令】 Use this function to issue move orders that require a position to a squad group |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1145) | |
| LocalCommand_SquadMovePosFacing( PlayerID player, SGroupID sgroup, Position target, Position facing, Boolean queued, Boolean reverseMove, Boolean split, Real acceptableProximity ) | |
|
向小队组发送移动并面向指定方向的命令。【功能:小队移动朝向命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1182) | |
| LocalCommand_SquadMultiTargetAbility( SquadID caster, vector<ConstTargetHandle> targets, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向小队发送命令,对指定目标使用多目标技能。【功能:小队多目标技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (877) | |
| LocalCommand_SquadPath( PlayerID pPlayer, SGroupID pSGroup, String pathName, Integer pathIndex, Boolean bFromClosest, LoopType loopType, Boolean bAttackMove, Real pauseTime, Boolean bMoveForward, Boolean queued ) | |
|
向小队发送巡逻命令(SCMD_Patrol)。【功能:小队巡逻命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (950) | |
| LocalCommand_SquadPos( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, Position target, Boolean queued ) | |
|
向小队组发送位置命令。【功能:小队位置命令】 Use this function to issue orders that require a position to a squad group (eg. order a squad to move to position, or attack position)\n See LocalCommand_Squad for a list of all the possible squadCommands. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1109) | |
| LocalCommand_SquadPosAbility( PlayerID player, SGroupID sgroup, Position pos, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向小队发送位置技能命令(SCMD_Ability)。【功能:小队位置技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (812) | |
| LocalCommand_SquadPosExt( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, Position target, Integer cmdparam, Boolean queued ) | |
|
向小队组发送带有自定义数据的位置命令。【功能:扩展小队位置命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1048) | |
| LocalCommand_SquadPositionAttack( PlayerID player, SGroupID sgroup, Position target, Boolean bCheckFOW, Boolean bStationary, String planName, Boolean queued ) | |
|
向小队组发送位置攻击命令。【功能:小队位置攻击命令】 Use this function to issue an position-based command to a squad group with custom FOW check flag. (eg. order a squad to attack a building)\n planName is the name of the custom plan file to execute. Pass in empty string to use the default\n stationary flag uses SCMD_StationaryAttack instead where plan file is ignored and squad does not pursue its target See LocalCommand_Squad for a list of all the possible squadCommands WARNING: Element plans need to be reimplemented in state trees. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1338) | |
| LocalCommand_SquadRetreatPos( PlayerID player, SGroupID sgroup, Position target, Boolean queued, Boolean allowNonInteractiveStages ) | |
|
向小队组发送撤退位置命令。【功能:小队撤退位置命令】 Use this function to issue retreat order that require a position to a squad group |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1071) | |
| LocalCommand_SquadSetCombatStance( PlayerID player, SGroupID sgroup, StanceType stanceType, Boolean queued ) | |
|
向小队发送设置战斗姿态命令。【功能:设置战斗姿态】 Set the CombatStance for all the Squads in the SGroup. StanceTypes: STANCE_CeaseFire (don't shoot), STANCE_StandGround (don't move, just shoot), STANCE_Attack (move and shoot) |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1524) | |
| LocalCommand_SquadSetWeaponPreference( PlayerID player, SGroupID sgroup, WeaponPreference weaponPreference, Boolean queued ) | |
|
向小队发送设置武器偏好命令。【功能:设置武器偏好】 Set the Weapon Preference for all the Squads in the SGroup. WeaponPreference: WP_Melee, WP_Ranged, |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1581) | |
| LocalCommand_SquadSquad( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, SGroupID target, Boolean queued ) | |
|
向小队组发送基于小队的命令。【功能:小队对小队命令】 Use this function to issue a squad-based command to a squad group. \n See LocalCommand_Squad for a list of all the possible squadCommands |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1443) | |
| LocalCommand_SquadSquadAbility( PlayerID player, SGroupID sgroup, SGroupID target, ScarAbilityPBG abilityPBG, Boolean skipCostAndPrereq, Boolean queued ) | |
|
向小队发送小队技能命令(SCMD_Ability)。【功能:小队技能命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (854) | |
| LocalCommand_SquadSquadAttack( PlayerID player, SGroupID sgroup, SGroupID target, Boolean bCheckFOW, Boolean bStationary, String planName, Boolean queued ) | |
|
向小队组发送基于小队的命令。【功能:小队攻击命令】 Use this function to issue a squad-based command to a squad group with special boolean flag. (eg. order a squad to attack another squad)\n If bCheckFOW is set to false, the squad would be able to attack other squads hidden in FOW \n planName is the name of the custom plan file to execute. Pass in empty string to use the default\n stationary flag uses SCMD_StationaryAttack instead where plan file is ignored and squad does not pursue its target See LocalCommand_Squad for a list of all the possible squadCommands WARNING: Element plans need to be reimplemented in state trees. |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1478) | |
| LocalCommand_SquadSquadExt( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, SGroupID target, Integer cmdparam, Boolean queued ) | |
|
向小队组发送带有自定义数据的小队命令。【功能:扩展小队对小队命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1413) | |
| LocalCommand_SquadSquadLoad( PlayerID player, SGroupID sgroup, SquadCommandType squadCommand, SGroupID target, Boolean bOverLoad, Boolean queued ) | |
|
向小队组发送带有小队装载参数的特殊小队命令。【功能:小队装载命令】 This is a special command for loading squads into vehicle (squad) holds (SCMD_Load, SCMD_InstantLoad) |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (2563) | |
| LocalCommand_SquadUpgrade( PlayerID player, SGroupID sgroup, ScarUpgradePBG upgrade, Boolean instant, Boolean queued ) | |
|
向小队组发送升级命令。【功能:小队升级命令】 |
|
| Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaCommand.cpp] (1007) | |