summaryrefslogtreecommitdiffstats
path: root/SymbolDummy.c4d/Script.c
diff options
context:
space:
mode:
Diffstat (limited to 'SymbolDummy.c4d/Script.c')
-rw-r--r--SymbolDummy.c4d/Script.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/SymbolDummy.c4d/Script.c b/SymbolDummy.c4d/Script.c
new file mode 100644
index 0000000..4032726
--- /dev/null
+++ b/SymbolDummy.c4d/Script.c
@@ -0,0 +1,16 @@
+#strict 2
+
+static const DT_Menu_SymbolDummy = MS7I;
+
+func SetSymbol(id symbol, int nr)
+{
+ SetGraphics(0, this, symbol);
+ SetPicture(GetDefCoreVal("Picture", "DefCore", symbol, 0) + nr * GetDefCoreVal("Picture", "DefCore", symbol, 2), GetDefCoreVal("Picture", "DefCore", symbol, 1), GetDefCoreVal("Picture", "DefCore", symbol, 2), GetDefCoreVal("Picture", "DefCore", symbol, 3));
+ return this;
+}
+
+func SetColor(int color)
+{
+ SetClrModulation(color);
+ return this;
+}