diff options
Diffstat (limited to 'TemplePushing.c4s')
3 files changed, 6 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c b/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c index cae886c..b057205 100644 --- a/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c +++ b/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c @@ -11,3 +11,5 @@ func Set(int phase, int size, int rotation, int dir, int color) SetDir(dir); SetClrModulation(color); } + +func IsDecorativeCrystal() { return true; } diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c index 40ad2ac..b6789ef 100644 --- a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c @@ -20,3 +20,5 @@ public func Activate() { return SetAction("Active"); } + +func IsDecorativeCrystal() { return true; } diff --git a/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c b/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c index 6ed5738..cb072d7 100644 --- a/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c +++ b/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c @@ -12,6 +12,8 @@ func Initialize() AddEffect("ShakeScreen", 0, 20, 50); AddEffect("Bottom", 0, 20, 2); AddEffect("SkyAdjust", 0, 20, 1); + + FindObjects(Find_Func("IsDecorativeCrystal"), Find_Func("SetClrModulation", RGB(255, 50, 50))); } func ModeName() { return "$ModeName$"; } |
