1 /*--Helper --*/
2 
Initialize()3 func Initialize()
4 {
5 	return(1);
6 }
7 
Definition(def)8 func Definition(def) {
9 	SetProperty("Name", "solid mask helper", def);
10 
11 	SetProperty("ActMap", {
12 
13 		Attach = {
14 			Prototype = Action,
15 			Name = "Attach",
16 			Procedure = DFA_ATTACH,
17 			Directions = 0,
18 			FlipDir = 0,
19 			Length = 1,
20 			Delay = 0,
21 			X = 0,
22 			Y = 0,
23 			FacetBase = 1,
24 		//	InLiquidAction = "Swim",
25 		}
26 	});
27 }
28 
OnAttachTargetLost()29 func OnAttachTargetLost()
30 {
31 	return this->RemoveObject();
32 }
33 
34 local Plane = 300;
35