EyeonTips:Script/General Concepts/Inputs and Outputs

From VFXPedia

< EyeonTips:Script
Revision as of 16:23, 6 April 2010 by Msteeds (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Example

To extract the names of the inputs from a tool:

for _, input in ipairs(tool:GetInputList()) do print(input:GetAttrs().INPS_Name) end