Blockland Forums > Modification Help
[SOLVED] How to Get Print ID?
(1/1)
Platypi:
I am writing a script that spawns ModTer bricks and sets their texture with FxDTSBrick::setPrint(%this, %printID). I understand that the print ID of a print can change as you add or remove prints from the add-on loadout. How can I find the print ID of, say, sand-texture5 from Print_ModTer_Default?
Zeblote:
$PrintNameTable["ModTer/sand-texture5"]
Platypi:

--- Quote from: Zeblote on December 31, 2017, 11:03:33 AM ---$PrintNameTable["ModTer/sand-texture5"]

--- End quote ---
Yup, that works. Thanks!
Navigation
Message Index

Go to full version