Help with dynamic object virtual worlds
#1

Hello, so i found that there is a paramater in CreateDynamicObject function that can set a virtual world. Now lets say i have 1000 objects in my script, that i want only to be visible in virtual world 1. But what could i do to save me some time of going through each 1000 lines? Is it possible to put them in a text file or something like that and create a little script that will have a loop in it, will go through all the lines and change each virtual world to 1? I am asking this because i have way more than 1000 objects, that need to be moved to a different virtual world, because i am trying to move my stunts to a different world.
Reply
#2

Copy and paste those lines for the objects you want in a file, then CTRL + H to replace ");" with ", 1);"
Reply
#3

Thank you!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)