| scardoc;Proximity |
| Functions |
| Prox_AreEntitiesNearMarker( EGroupID egroup, MarkerID/Position/SectorID position, Boolean all, Real OPT_range ) | |
|
如果组中的任意或所有实体在给定位置、标记或领地区域的范围内,则返回true。【功能:检测实体邻近标记】 You MUST specify a range if you are using a position rather than a marker. Markers with proximity type rectangle will use circular proximity check if custom range is supplied\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (362) | |
| Prox_ArePlayerEntitiesNearMarker( PlayerID player, MarkerID/Position/SectorID position, Boolean all, Real OPT_range, EBP/Table OPT_filterlist, Integer OPT_filtertype, Boolean OPT_ignore_camouflage ) | |
|
如果玩家的任意或所有实体在给定位置、标记或领地区域的范围内,则返回true。此函数非常慢,除非绝对必要,否则不要使用。【功能:检测玩家实体邻近标记】 You MUST specify a range if you are using a position rather than a marker.\n Markers with proximity type rectangle will use circular proximity check if custom range is supplied\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (462) | |
| Prox_ArePlayerMembersNearMarker( PlayerID player, MarkerID/Position/SectorID position, Boolean all, Real OPT_range, SBP/Table OPT_filterlist, Integer OPT_filtertype, Boolean OPT_ignore_camouflage ) | |
|
如果玩家的任意或所有成员(即个体单位,而非整个小队)在给定位置、标记或领地区域的范围内,则返回true。除非绝对必要,否则不要使用此函数!!【功能:检测玩家成员邻近标记】 You MUST specify a range if you are using a position rather than a marker. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (513) | |
| Prox_ArePlayersNearMarker( PlayerID player, MarkerID/Position/SectorID position, Boolean all, Real OPT_range, SBP/Table OPT_filterlist, Integer OPT_filtertype, Boolean OPT_ignore_camouflage ) | |
|
如果玩家的任意或所有小队在给定位置、标记或领地区域的范围内,则返回true。此函数非常慢,除非绝对必要,否则不要使用。【功能:检测玩家小队邻近标记】 You MUST specify a range if you are using a position rather than a marker.\n Markers with proximity type rectangle will use circular proximity check if custom range is supplied\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (428) | |
| Prox_AreSquadMembersNearMarker( SGroupID sgroup, MarkerID/Position/SectorID position, Boolean all, Real OPT_range ) | |
|
如果组中的任意或所有小队成员(即个体单位,而非整个小队)在给定位置、标记或领地区域的范围内,则返回true。除非绝对必要,否则不要使用此函数!!【功能:检测小队成员邻近标记】 You MUST specify a range if you are using a position rather than a marker.\n Markers with proximity type rectangle will use circular proximity check if custom range is supplied\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (283) | |
| Prox_AreSquadsNearMarker( SGroupID sgroup, MarkerID/Position/SectorID position, Boolean all, Real OPT_range ) | |
|
如果组中的任意或所有小队在给定位置、标记或领地区域的范围内,则返回true。【功能:检测小队邻近标记】 You MUST specify a range if you are using a position rather than a marker.\n Markers with proximity type rectangle will use circular proximity check if custom range is supplied\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (251) | |
| Prox_AreTeamsNearMarker( TeamID team, MarkerID/Position/SectorID position, Boolean all, Real OPT_range, SBP/Table OPT_filterlist, Integer OPT_filtertype, Boolean OPT_ignore_camouflage ) | |
|
如果队伍的任意或所有小队在给定位置、标记或领地区域的范围内,则返回true。此函数非常慢,除非绝对必要,否则不要使用。【功能:检测队伍小队邻近标记】 You MUST specify a range if you are using a position rather than a marker.\n Markers with proximity type rectangle will use circular proximity check if custom range is supplied\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (496) | |
| Prox_EGroupEGroup( EGroupID egroup1, EGroupID egroup2, ProxType checktype ) | |
|
返回两个实体组之间的距离。使用检查类型PROX_SHORTEST(最短)、PROX_LONGEST(最长)或PROX_CENTER(中心)。【功能:计算实体组间距离】 If check is PROX_SHORTEST this will return the shortest distance between the two groups.\n If check is PROX_LONGEST this will return the longest distance between the two groups.\n If check is PROX_CENTER this will return the distance between the two groups centers.\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (157) | |
| Prox_EGroupSGroup( EGroupID egroup1, SGroupID sgroup2, ProxType checktype ) | |
|
返回实体组与小队组之间的距离。使用检查类型PROX_SHORTEST(最短)、PROX_LONGEST(最长)或PROX_CENTER(中心)。【功能:计算实体组与小队组距离】 If check is PROX_SHORTEST this will return the shortest distance between the two groups.\n If check is PROX_LONGEST this will return the longest distance between the two groups.\n If check is PROX_CENTER this will return the distance between the two groups centers.\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (180) | |
| Prox_EntitiesInProximityOfEntities( EGroupID egroup1, EGroupID egroup2, Real proximity, Boolean all ) | |
|
检查所有或任意实体是否在给定实体组的邻近范围内。【功能:检测实体邻近实体组】 Set "all" to true to check that ALL entities are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (754) | |
| Prox_GetRandomPosition( Object item, Integer radius, Integer minimum ) | |
|
接收一个对象(实体、小队、小队组、实体组、位置),然后返回一个随机位置。【功能:获取随机位置】 Minimum is the distance from the origin point that is guaranteed to have a return greater than Minimum is ignored if it is greater than the radius |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (767) | |
| Prox_MarkerEGroup( MarkerID marker, EGroupID egroup, ProxType checktype ) | |
|
返回标记与实体组之间的距离。使用检查类型PROX_SHORTEST(最短)、PROX_LONGEST(最长)或PROX_CENTER(中心)。【功能:计算标记与实体组距离】 If check is PROX_SHORTEST this will return the shortest distance between the two groups.\n If check is PROX_LONGEST this will return the longest distance between the two groups.\n If check is PROX_CENTER this will return the distance between the two groups centers.\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (203) | |
| Prox_MarkerSGroup( MarkerID marker, SGroupID sgroup, ProxType checktype ) | |
|
返回标记与小队组之间的距离。使用检查类型PROX_SHORTEST(最短)、PROX_LONGEST(最长)或PROX_CENTER(中心)。【功能:计算标记与小队组距离】 If check is PROX_SHORTEST this will return the shortest distance between the two groups.\n If check is PROX_LONGEST this will return the longest distance between the two groups.\n If check is PROX_CENTER this will return the distance between the two groups centers.\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (226) | |
| Prox_PlayerEntitiesInProximityOfEntities( PlayerID playerid, EGroupID egroup, Real proximity, Boolean all, EntityID exclude ) | |
|
检查所有或任意玩家小队是否在给定实体组的邻近范围内。【功能:检测玩家小队邻近实体组】 Set "all" to true to check that ALL entities are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (715) | |
| Prox_PlayerEntitiesInProximityOfPlayerSquads( PlayerID playerentities, PlayerID playersquads, Real proximity, Boolean all ) | |
|
检查所有或任意玩家实体是否在给定小队组的邻近范围内。【功能:检测玩家实体邻近小队组】 Set "all" to true to check that ALL entities are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (702) | |
| Prox_PlayerEntitiesInProximityOfSquads( PlayerID playerid, SGroupID sgroup, Real proximity, Boolean all ) | |
|
检查所有或任意玩家实体是否在给定小队组的邻近范围内。【功能:检测玩家实体邻近小队组】 Set "all" to true to check that ALL entities are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (663) | |
| Prox_PlayerSquadsInProximityOfEntities( PlayerID playerid, EGroupID egroup, Real proximity, Boolean all, SBP/Table filterlist, Integer filtertype, Boolean ignore_camouflage ) | |
|
检查所有或任意玩家小队是否在给定实体组的邻近范围内。【功能:检测玩家小队邻近实体组】 Set "all" to true to check that ALL squads are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (634) | |
| Prox_PlayerSquadsInProximityOfPlayerEntities( PlayerID playersquads, PlayerID playerentities, Real proximity, Boolean all ) | |
|
检查所有或任意玩家小队是否在给定玩家实体的邻近范围内。【功能:检测玩家小队邻近玩家实体】 Set "all" to true to check that ALL squads are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (689) | |
| Prox_PlayerSquadsInProximityOfPlayerSquads( PlayerID playerid1, PlayerID playerid2, Real proximity, Boolean all ) | |
|
检查所有或任意玩家小队是否在给定玩家小队的邻近范围内。【功能:检测玩家小队邻近玩家小队】 Set "all" to true to check that ALL squads are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (676) | |
| Prox_PlayerSquadsInProximityOfSquads( PlayerID playerid, SGroupID sgroup, Real proximity, Boolean all, SquadID exclude, SBP/Table filterlist, Integer filtertype, Boolean ignore_camouflage ) | |
|
检查所有或任意玩家小队是否在给定小队组的邻近范围内。【功能:检测玩家小队邻近小队组】 Set "all" to true to check that ALL squads are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (607) | |
| Prox_SGroupSGroup( SGroupID sgroup1, SGroupID sgroup2, ProxType checktype ) | |
|
返回两个小队组之间的距离。使用检查类型PROX_SHORTEST(最短)、PROX_LONGEST(最长)或PROX_CENTER(中心)。【功能:计算小队组间距离】 If check is PROX_SHORTEST this will return the shortest distance between the two groups.\n If check is PROX_LONGEST this will return the longest distance between the two groups.\n If check is PROX_CENTER this will return the distance between the two groups centers.\n |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (134) | |
| Prox_SquadsInProximityOfEntities( SGroupID sgroup, EGroupID egroup, Real proximity, Boolean all ) | |
|
检查所有或任意小队是否在给定实体组的邻近范围内。【功能:检测小队邻近实体组】 Set "all" to true to check that ALL squads are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (741) | |
| Prox_SquadsInProximityOfSquads( SGroupID sgroup1, SGroupID sgroup2, Real proximity, Boolean all ) | |
|
检查所有或任意小队是否在给定小队组的邻近范围内。【功能:检测小队邻近小队组】 Set "all" to true to check that ALL squads are in proximity, or set "all" to false to check for ANY. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\proximity.scar] (728) | |