点击图片可看到更多讯息
开始使用于
- 游戏:
- Operation Flashpoint
- 版本:
- 1.04
描述
- 描述:
- Check if lampost is on (shining). For working with CfgNonAIVehicles class "StreetLamp" only. Possible values are:
- "ON"
- "OFF"
- "AUTO" (auto is only on during the night).
- "ERROR"
基本句法
范例
- 范例1:
?lightIsOn nearestObject [player, "StreetLamp"] == "ON" :hint "nightime"
- 范例2:
_it = lightIsOn object 159582
- 范例3:
if (count allMissionObjects "StreetLamp" == 0) then { hint "Objects compatible with 'lightIsOn' are not found."; } else { hint "'lightIsOn' compatible objects are found!"; };
额外资讯
- 多人游戏:
- -
- 也可以看看:
- switchLight
注意事项
Notes
- Posted on August 4, 2006 - 10:56
- hardrock
- Notes from before the conversion: Use switchLight to turn lamposts on and off.