ok so, my script now looks like this
AddEntityCollideCallback("Player", "popout2", "SetEntityActive", false, 0); //(this is my second collide callback if that means something. But "SetEntityActive" is only used once.)
void SetEntityActive(string &in asParent, string &in asChild, int alState)
{
if(HasItem("scarykey_1") == false) return;
SetEntityActive("jesus", true);
}
I've looked over this like 9 times now, both on the script functions page and feedback from you guys. And Computer, what do you mean SetEntityAcitve has no (string) it does in the functions page.
(05-30-2012, 04:24 AM)Battlefield3142 Wrote: ok so, my script now looks like this
AddEntityCollideCallback("Player", "popout2", "SetEntityActive", false, 0); //(this is my second collide callback if that means something. But "SetEntityActive" is only used once.)
void SetEntityActive(string &in asParent, string &in asChild, int alState)
{
if(HasItem("scarykey_1") == false) return;
SetEntityActive("jesus", true);
}
I've looked over this like 9 times now, both on the script functions page and feedback from you guys. And Computer, what do you mean SetEntityAcitve has no (string) it does in the functions page.
I made a new script box btw called popout2, thats why thats different.