Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

yeah yeah guys. I get it! OMG!!! :))))))))))) im uber confusing my self with other funcs thanks alot guys!!!! :) i got it to work. thanks!
Battlefield3142 Development Support 17 10,070 06-01-2012, 04:22 AM
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

(05-30-2012, 01:18 PM)Your Computer Wrote: (05-30-2012, 12:49 PM)Battlefield3142 Wrote: void SetEntityActive(string &in asParent, string &in asChild, int alState) is what I am using for ...
Battlefield3142 Development Support 17 10,070 05-31-2012, 02:01 AM
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

ok, so how would you write this? (05-30-2012, 08:39 PM)Battlefield3142 Wrote: ok, so how would you write this?and if Im coming off a douche I dont mean too :blush:
Battlefield3142 Development Support 17 10,070 05-30-2012, 08:39 PM
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

(05-30-2012, 11:49 AM)Your Computer Wrote: (05-30-2012, 04:24 AM)Battlefield3142 Wrote: And Computer, what do you mean SetEntityAcitve has no (string) it does in the functions page. Look again and...
Battlefield3142 Development Support 17 10,070 05-30-2012, 12:49 PM
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

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 "SetEntityActiv...
Battlefield3142 Development Support 17 10,070 05-30-2012, 04:24 AM
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

ok, so i put that for the void part, but in the {} I have { if(HasItem("scarykey_1"); SetEntityActive("jesus"); } so that if player has a key, then the weird figure will appear (named jesus) I don'...
Battlefield3142 Development Support 17 10,070 05-29-2012, 09:26 PM
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

Oh, sorry. I didnt mean to upset anyone. :( Yeah. I wont do that unless I have to. but still, yes I have read the tutorial, I am still not to sure what the problem is. I know, I probably seem like th...
Battlefield3142 Development Support 17 10,070 05-29-2012, 08:44 PM
    Thread: Why wouldn't this script work?
Post: RE: Why wouldn't this script work?

There we go! Thanks! Stupid typing mistakes... :) wait.. still something came up.. sorry is this what you were saying? AddEntityCollideCallback("Player", "popout1", "SetEntityActive", false, 0); ...
Battlefield3142 Development Support 17 10,070 05-29-2012, 08:04 PM
    Thread: Why wouldn't this script work?
Post: Why wouldn't this script work?

(in OnStart) AddEntityCollideCallback("Player", "popout1", "SetEntityActive", false, 0); (When player crosses a script box called popout1, an entity is set active. then void SetEntityActive(string...
Battlefield3142 Development Support 17 10,070 05-29-2012, 07:18 PM
    Thread: some scripting help
Post: RE: some scripting help

thanks for the help, and yeah, ik its been done before, its really, really stupid, i agree.
Battlefield3142 Development Support 5 4,110 05-29-2012, 04:11 AM
    Thread: some scripting help
Post: some scripting help

So what I'm trying to achieve is: when player picks up a key a fake monster appears and poofs away (hallucination) (and player falls to ground as if the sanity has reached 0 if possible) What woul...
Battlefield3142 Development Support 5 4,110 05-29-2012, 02:38 AM
    Thread: Scripting Help
Post: RE: Scripting Help

Thank you for the tutorial and information as to which direction I should go. thanks
Battlefield3142 Development Support 2 2,134 05-28-2012, 11:30 PM
    Thread: Scripting Help
Post: Scripting Help

Does anyone know how to do the closet scare? Where a player passes a scriptbox then a monster comes out of closet which flys open, and the monster poofs away? All I need are the script functions invo...
Battlefield3142 Development Support 2 2,134 05-28-2012, 07:20 PM