The time is right for a suicide!
[FGS]Kalman
Throne/6G
Posts: 931 Joined: 20 Aug 2010, 15:52
Location: 9th circle of hell
Contact:
Post
by [FGS]Kalman » 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:
Code: Select all
foreach AllActors(class'ChildMale', Childm)
{
Childm.EnterWorld();
}
What is the problem?
Edit: I forgot to wrote, I set the local ChildMale Childm
deadmau5 is Canada's apology for Justin Bieber!!
~][FGS][Nobody~
Illuminated
Posts: 5348 Joined: 26 Oct 2005, 16:59
Location: Schland!
Post
by ~][FGS][Nobody~ » 19 Oct 2011, 17:07
Is ChildMale a subclass of Actor?
Is your foreach class executed in a class that is a subclass of Actor?
Nobody is perfect...
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote: I can ban any one I want ANY time I want. You have no rights here.
Magus wrote: Maybe one day I will understand your arcane rituals of voting
chin.democ. wrote: You can use light bulbs that emit light, and when shot, do not.
synthetic wrote: and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
[FGS]Kalman
Throne/6G
Posts: 931 Joined: 20 Aug 2010, 15:52
Location: 9th circle of hell
Contact:
Post
by [FGS]Kalman » 19 Oct 2011, 17:49
ChildMale is a ScriptedPawn, and I want this in a missionscript, both is a subclass of Actor
But nvm, i reinstalled my sdk, it works now, idk what was the problem :/
deadmau5 is Canada's apology for Justin Bieber!!
[FGS]FlyingGhost
TheDragonMaster
Posts: 862 Joined: 16 May 2008, 19:16
Location: World: Earth Year: 5348 Location: (45673,08664)
Post
by [FGS]FlyingGhost » 19 Oct 2011, 18:58
what language is that? c# java? ... ?
Mounir12 wrote: Hey guys i am Mounir i was banned cus i lam bugged so someone can unban me (btw i want to be memeber of fgs)
~DJ~ wrote: I don't want to discuss anymore, he's outta his mind!111
ShadowRunner wrote: Altfire is not altfire without Ichotolot...
[FGS]FlyingGhost
TheDragonMaster
Posts: 862 Joined: 16 May 2008, 19:16
Location: World: Earth Year: 5348 Location: (45673,08664)
Post
by [FGS]FlyingGhost » 19 Oct 2011, 18:58
what language is that? c# java? ... ?
Mounir12 wrote: Hey guys i am Mounir i was banned cus i lam bugged so someone can unban me (btw i want to be memeber of fgs)
~DJ~ wrote: I don't want to discuss anymore, he's outta his mind!111
ShadowRunner wrote: Altfire is not altfire without Ichotolot...
~][FGS][Nobody~
Illuminated
Posts: 5348 Joined: 26 Oct 2005, 16:59
Location: Schland!
Post
by ~][FGS][Nobody~ » 19 Oct 2011, 19:48
It was UnrealScript!
But yeah.. that reinstalling SDK solved the problem is weird tho..
It would have been interested to examine the issue.
Nobody is perfect...
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote: I can ban any one I want ANY time I want. You have no rights here.
Magus wrote: Maybe one day I will understand your arcane rituals of voting
chin.democ. wrote: You can use light bulbs that emit light, and when shot, do not.
synthetic wrote: and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!