summaryrefslogtreecommitdiffstats
path: root/Items.c4d/Sensors.c4d/Button.c4d/Script.c
blob: 68dcaea04bf144459f567730dc418920f6b4b9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#strict 2
#include SN7I

func Triggers() { return [["$Press$"]];}

func ControlThrow(object caller)
{
	SetAction("Pressed");
	Sound("Grab");
	Trigger(0, caller);
	return ClearCom(caller);
}
func ControlThrowDouble() { return ControlThrow(...); }

func EntranceCallback() { return "ControlThrow"; }

func SensorCallbacks() { return [["$Press$", "ControlThrow"]]; }