UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: trebeltom1 on March 12, 2013, 08:46:13 am

Title: Moving Brushes
Post by: trebeltom1 on March 12, 2013, 08:46:13 am
so i have added some moving brushes to my map, but the zombies won't follow me, past them, even if they are not there (having moved).... can anyone help? thanks
Title: Re: Moving Brushes
Post by: W1NG3D on March 12, 2013, 08:48:27 am
You need to make sure you've selected the brushes, pressed N to open the entity window, and checked the DYNAMIC_PATHS box at the top.
Title: Re: Moving Brushes
Post by: YaPh1l on March 12, 2013, 03:57:49 pm
And in your code, you can use ConnectPaths() to enable the path. (And DisconenctPaths() if you want to disable it again).

- Phil.
Title: Re: Moving Brushes
Post by: trebeltom1 on March 12, 2013, 06:11:36 pm
hey phil I'm struggling a bit, i get an unknown function error with connectpaths(); I am pretty much new to this so could you help, thanks
Title: Re: Moving Brushes
Post by: YaPh1l on March 12, 2013, 06:44:27 pm
Are you calling it on the brushmodel?

- Phil.
Title: Re: Moving Brushes
Post by: trebeltom1 on March 12, 2013, 07:02:37 pm
ah ok I forgot to put the name before connectpaths..... thanks