foreach loop?
Posted: 19 Oct 2011, 16:33
Hi!
I've got a problem. If I want to use the foreach allactors loop, it always says Call to 'AllActors' : Bad or missing parameter 2
This is the code:
What is the problem?
Edit: I forgot to wrote, I set the local ChildMale Childm
I've got a problem. If I want to use the foreach allactors loop, it always says Call to 'AllActors' : Bad or missing parameter 2
This is the code:
Code: Select all
foreach AllActors(class'ChildMale', Childm)
{
Childm.EnterWorld();
}
Edit: I forgot to wrote, I set the local ChildMale Childm