Commit Graph

6 Commits

Author SHA1 Message Date
A Man
e116caa815 Update fnc_isInsideBuilding
Made by @Victor-the-Cleaner

- If the player is inside a building but near a large open doorway or full height windows, or out on a balcony, they may be considered outside.
- The UI visual stealth icon will update accordingly, so the player will know if they need to step back from open doors or windows to regain stealth.
- dayz_inside global variable will now only affect player temperature, stealth vs zombies, and blizzard effects.
- The new dayz_insideBuilding global variable stores the building name the player is currently inside of, or null if player is outside. This may be used for modding purposes.
2022-04-02 12:22:56 +02:00
worldwidesorrow
aae14af4e2 Update fn_isInsideBuilding.sqf
Optimize code and correct error when no building is sent as a parameter.
2020-07-14 16:02:34 -05:00
A Man
cc127c646b Update fn_isInsideBuilding.sqf
Adding private tags and an exithwith if the object is null. This happends a lot.
2019-12-16 15:12:23 +01:00
icomrade
b96cd2d971 Update compiles - 2 more files to do
fn_selfActions.sqf
player_updateGui.sqf
2016-02-29 00:26:12 -05:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00