Modme Forums

Script to move cage down?

Game Modding | Call of Duty: Black Ops 3 | General Discussion


Dilly:

A simple script would be nice, ps, ive made it out of multiple brushes


Zixology:

If it's just made out of brushes/models, then you can use the MoveX MoveY and MoveZ to move them wherever you need them to go once you make them into script brushmodels and script models. Either give them all targetnames and call them individually or place them in an array and call them like that.


Dilly:

Thanks alot mate, i totally forgot about the move X and y stuff lol, i was looking in the docs theres so much i missed it, ill give it ago later thanks for the help :)


xReaction:

if youre still stuck try giving them all the same targetname, then in scripts do:
variable_name = getentarray("WHATEVER_INGAME_TARGETNAME_WAS", "targetname");
foreach(model in variable_name)
{
model MoveX(2,2);
}


Dilly:

Thanks for the help, im going to try now


xReaction:

Thanks for the help, im going to try now

let me know how it goes!