Add SpinWheel EditorProps

qteditor
Sven Eberhardt 2016-06-16 16:57:13 -04:00
parent 4e603e2ef8
commit f6acefa882
4 changed files with 7 additions and 2 deletions

View File

@ -158,6 +158,8 @@ public func GetFloorOffset()
return y_off;
}
public func IsSwitchTarget() { return true; }
local ActMap = {
Door = {
Prototype = Action,

View File

@ -95,6 +95,7 @@ local Name = "$Name$";
local Touchable = 2;
local EditCursorCommands = ["ControlUp()", "ControlDown()", "ConnectNearestDoor()"];
local Plane = 200;
local EditorProp_targetdoor = { Name="$Target$", Type="object", Filter="IsSwitchTarget" };
func Definition(def)
{

View File

@ -1,2 +1,3 @@
Name=Winde
Description=Öffne oder schließe die verbundene Burgtür mit [Hoch] oder [Runter].
Description=Öffne oder schließe die verbundene Burgtür mit [Hoch] oder [Runter].
Target=Ziel

View File

@ -1,2 +1,3 @@
Name=Spin Wheel
Description=Open and close connected castle door with [Up] and [Down] respectively.
Description=Open and close connected castle door with [Up] and [Down] respectively.
Target=Target