mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Move some addActions to config UserActions
Should improve client FPS while still allowing conditions and scripts to be customized. Some special vehicles like MV22, UH1Y, etc. have UserActions overwritten in their configs, so please let me know if you find any others that do not get the option to repair or salvage because UserActions is overwritten in their config. I think I got them all. Vanilla commits:a8c4238c0c350d73abe1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
class Man;
|
||||
class CAManBase: Man
|
||||
class CAManBase: Man //Covers all custom Epoch skins
|
||||
{
|
||||
class TalkTopics;
|
||||
class HitPoints
|
||||
@@ -8,6 +8,22 @@ class CAManBase: Man
|
||||
class HitHead;
|
||||
class HitBody;
|
||||
};
|
||||
class UserActions
|
||||
{
|
||||
class StudyBody
|
||||
{
|
||||
displayName = $STR_ACTION_STUDYBODY;
|
||||
displayNameDefault = $STR_ACTION_STUDYBODY;
|
||||
priority = 0;
|
||||
radius = 3;
|
||||
position = "";
|
||||
showWindow = 0;
|
||||
onlyForPlayer = 1;
|
||||
shortcut = "";
|
||||
condition = "(['StudyBody',this] call userActionConditions)";
|
||||
statement = "this call player_studyBody;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class Civilian: CAManBase
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user