Learn modding

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

Learn modding

Postby or 1=1 » Sun Aug 24, 08 2:18 am

So... I'm at the point where I've just extracted WOT from the zip.
Now what... and what the hell "foreach" means ?
Cheap Bitch
User avatar
or 1=1
Master
 
Posts: 1187
Joined: Sat Jan 19, 08 7:01 pm

Postby Dae » Sun Aug 24, 08 10:05 am

•»Garçon«• wrote:Now what... and what the hell "foreach" means ?

local cat dxcat;

foreach AllActors(class'cat', dxcat)
{
dxcat.fatness=255;
}


That would make every cat in the map fat.
Last edited by Dae on Sun Aug 24, 08 10:06 am, edited 1 time in total.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 17 guests