Ich habe das Problem das ich bei meinen Gebäuden die Türen nicht öffnen kann wenn sie Hardcoded auf der Karte platziert werden woran kann das liegen ?
Softcoded geht alles
Die Propertys hab ich bei
- "Memory"
- "Geometry"
- "FireGeometry"
drinnen
Danke schon mal für die Hilfe
native-servers.com/attachment/11654/
Code
class Land_dar_tanke_house : House_F
{
author = "Darkster for MountainValley RPG";
editorCategory = "darmods";
editorSubcategory = "darTK";
scope = 2;
scopeCurator = 2;
animated = "true";
destrType = "DestructNo";
displayName = "Mountain Shop Tankstelle";
model = "\darkster_mv\model\tanke_haus.p3d";
class AnimationSources
{
class Door1source
{
source = user;
initPhase = 0;
animPeriod = 1;
};
class Door2source: Door1source {};
};
class UserActions
{
class OpenDoor1
{
displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
displayName = "Tür Öffnen";
position = Door1trigger;
priority = 0.4;
radius = 3;
onlyForPlayer = false;
condition = ((this animationPhase 'Door1rot') < 0.5);
statement = ([this, 'Door1rot'] call BIS_fnc_DoorNoHandleOpen);
};
class CloseDoor1: OpenDoor1
{
displayName = "Tür Schliessen";
priority = 0.2;
condition = ((this animationPhase 'Door1rot') >= 0.5);
statement = ([this, 'Door1rot'] call BIS_fnc_DoorNoHandleClose);
};
class OpenDoor2
{
displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
displayName = "Tür Öffnen";
position = Door2trigger;
priority = 0.4;
radius = 3;
onlyForPlayer = false; /
condition = ((this animationPhase 'Door2rot') < 0.5);
statement = ([this, 'Door2rot'] call BIS_fnc_DoorNoHandleOpen);
};
class CloseDoor2: OpenDoor2
{
displayName = "Tür Schliessen";
priority = 0.2;
condition = ((this animationPhase 'Door2rot') >= 0.5);
statement = ([this, 'Door2rot'] call BIS_fnc_DoorNoHandleClose);
};
};
actionBegin1 = OpenDoor1;
actionEnd1 = OpenDoor1;
actionBegin2 = OpenDoor2;
actionEnd2 = OpenDoor2;
numberOfDoors = 2;
};
Alles anzeigen