UGX-Mods

Call of Duty 5: World at War => Help Desk => Mapping => Topic started by: CyberShot on April 22, 2020, 05:52:54 pm

Title: movign a model
Post by: CyberShot on April 22, 2020, 05:52:54 pm
Hello everyone. I am trying to get back into making maps for Call of duty world at war. I have everything installed and working. Going to try the script placer later today. I am working on a map and I am trying to make a book case move. I put the model in my map, added some books and turned it into a prefab. when I try to make it a script model, I get an error. how do I get it where I can give it a name / targetname?
Title: Re: movign a model
Post by: Vertasea on April 23, 2020, 09:21:28 am
You can't make a prefab a script_model. It doesn't work like that. What you need to do is enter the bookcase prefab and select all of the models and make them a script_modle. You can do this by right clicking on the grid and hover over script then select script_model. Then you can give them a targetname. In script you would want to get an array of the models using GetEntArray and then you can move them.