scardoc;FOW

scardoc;FOW
Functions

 __declspec( )
 

用于从游戏过渡到全部揭示状态【功能:过渡到全揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (422) 

 __declspec( )
 

Use to reveal all Entities in FoW 

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (536) 

 __declspec( Real duration )
 

Use to transition from game to RevealAll 

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (551) 

 FOW_ForceRevealAllUnblockedAreas( )
 

为所有玩家揭示除障碍物外的战争迷雾。不创建幽灵,如果撤销则幽灵将不存在。【功能:揭示非障碍迷雾】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (373) 

 FOW_PlayerExploreAll( PlayerID player )
 

为单个玩家探索整个地图。(注意使用位置。例如,如果在第一个tick之前使用,状态树可能会在第一个tick时改变实体的视觉,因此幽灵的视觉将无法反映该实体。)【功能:单玩家全图探索】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (465) 

 FOW_PlayerRevealAll( PlayerID player )
 

为指定玩家揭示战争迷雾【功能:指定玩家迷雾揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (310) 

 FOW_PlayerRevealArea( PlayerID player, Position pos, Real radius, Real durationSecs )
 

在指定持续时间内为指定玩家揭示一个圆形区域【功能:定时圆形区域揭示】

Pass in a duration of -1 for indefinite duration ( or until unreveal is called on the same position )

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (122) 

 FOW_PlayerRevealSGroup( PlayerID player, SGroupID group, Real radius, Real durationSecs )
 

在指定持续时间内为玩家揭示战争迷雾中的小队组【功能:定时小队组迷雾揭示】

Pass in a duration of -1 for indefinite duration ( until the squads are dead or UnReveal is called )

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (271) 

 FOW_PlayerUnExploreAll( PlayerID player )
 

取消单个玩家的整个地图探索【功能:取消单玩家全图探索】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (477) 

 FOW_PlayerUnRevealAll( PlayerID player )
 

用于撤销指定玩家的FOW_RevealAll操作【功能:撤销指定玩家全揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (322) 

 FOW_PlayerUnRevealArea( PlayerID player, Position pos )
 

取消指定玩家之前揭示的圆形区域【功能:取消玩家圆形区域揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (138) 

 FOW_PlayerUnRevealSGroup( PlayerID player, SGroupID group )
 

取消之前向玩家揭示的小队组【功能:取消小队组揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (293) 

 FOW_RevealAll( )
 

为所有玩家揭示战争迷雾【功能:全玩家迷雾揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (334) 

 FOW_RevealArea( Position pos, Real radius, Real durationSecs )
 

在指定持续时间内为所有存活玩家揭示一个圆形区域【功能:全玩家定时圆形区域揭示】

Pass in a duration of -1 for indefinite duration ( or until unreveal is called at the same position )

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (75) 

 FOW_RevealEGroup( EGroupID group, Real radius, Real durationSecs )
 

在指定持续时间内为所有存活玩家揭示战争迷雾中的实体组【功能:全玩家定时实体组揭示】

Pass in a duration of -1 for indefinite duration ( until the entities are dead or UnReveal is called )

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (207) 

 FOW_RevealEGroupOnly( EGroupID group, Real durationSeconds )
 

在指定持续时间内为存活玩家揭示战争迷雾中的实体组【功能:存活玩家定时实体组揭示】

Pass in a duration of -1 for an indefinite duration.

  Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (1149) 

 FOW_RevealEntity( EntityID entity, Real radius, Real durationSecs )
 

在指定持续时间内为所有存活玩家揭示战争迷雾中的实体【功能:全玩家定时实体揭示】

Pass in a duration of -1 for indefinite duration ( until the entity is dead or UnReveal is called with the same entity )

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (152) 

 FOW_RevealMarker( MarkerID marker, Real duration )
 

在指定时间内,在标记位置揭示一个与标记邻近范围大小相同的区域。传入-1表示无限持续时间。每个区域只应调用一次。【功能:标记区域定时揭示】

This function will reveal the FOW for ALL alive players. This does not work with markers with rectangular proximity type

  Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (1110) 

 FOW_RevealSGroup( SGroupID group, Real radius, Real durationSecs )
 

在指定持续时间内为所有存活玩家揭示战争迷雾中的小队组【功能:全玩家定时小队组揭示】

Pass in a duration of -1 for indefinite duration ( until the squads are dead or UnReveal is called )

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (239) 

 FOW_RevealSGroupOnly( SGroupID group, Real durationSeconds )
 

在指定持续时间内为存活玩家揭示战争迷雾中的小队组【功能:存活玩家定时小队组揭示】

Pass in a duration of -1 for an indefinite duration.

  Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (1157) 

 FOW_RevealSquad( SquadID squad, Real radius, Real durationSecs )
 

在指定持续时间内为所有存活玩家揭示战争迷雾中的小队【功能:全玩家定时小队揭示】

Pass in a duration of -1 for indefinite duration ( until the squad is dead or UnReveal is called with the same squad )

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (180) 

 FOW_RevealTerritory( PlayerID player, Integer sectorID, Real durationSecs, Boolean mustOwn )
 

向玩家揭示一个领地【功能:领地揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (393) 

 FOW_UIRevealAll( )
 

通过禁用战争迷雾渲染来为所有玩家揭示迷雾,而不触发游戏模拟中的战争迷雾【功能:UI层迷雾揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (520) 

 FOW_UIUnRevealAll( )
 

用于撤销FOW_UIRevealAll操作【功能:撤销UI全揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (530) 

 FOW_UIUnRevealAll_Transition( Real duration )
 

用于过渡到游戏【功能:过渡到游戏】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (562) 

 FOW_UIUnRevealAllEntities( )
 

用于取消揭示战争迷雾中的所有实体【功能:取消迷雾实体揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (545) 

 FOW_UndoForceRevealAllUnblockedAreas( )
 

用于撤销FOW_ForceRevealAllUnblockedAreas操作【功能:撤销强制揭示非障碍区域】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (383) 

 FOW_UnExploreAll( )
 

取消所有玩家的整个地图探索【功能:取消全玩家全图探索】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (445) 

 FOW_UnRevealAll( )
 

用于撤销FOW_RevealAll操作【功能:撤销全揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (352) 

 FOW_UnRevealArea( Position pos )
 

取消所有存活玩家之前揭示的圆形区域【功能:取消全玩家圆形区域揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (100) 

 FOW_UnRevealMarker( MarkerID marker )
 

取消在标记位置揭示的与标记邻近范围大小相同的区域。每个区域只应调用一次。【功能:取消标记区域揭示】

This does not work with markers with rectangular proximity type

  Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (1132) 

 FOW_UnRevealTerritory( PlayerID player, Integer sectorID )
 

取消揭示一个领地区域【功能:取消领地揭示】

  Source: [E:\P4Share\engine\source\runtime\presentation\public\presentation\lua\lualibs\unsorted\LuaFOW.cpp] (408)