Trying to create a list of Part ID numbers that can be called upon to turn on a list of parts all at once. Thought it would be a simple thing , I guess not. LOL Anyone able to help me out?
Tags
Question3 Comments
- Log in to leave a comment
-
-
373 zeropol
you can try something like this :
create a variable called "myList", then
set list (myList) to [create list from (partID1, partID2, partID3, etc)]
for (i) from (1) to [ lenght of (mylist) by (1)]
{
set part [part ID of [item (i) in (myList)]] activated to (1)
}
No Upvotes
Log in in to upvote this post.
@zeropol Thanks again. After a few custom adjustments for my vehicle it worked perfectly, and now i have a basic understanding of "lists" and how they work.