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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
some scripting help
Battlefield3142 Offline
Junior Member

Posts: 13
Threads: 3
Joined: May 2012
Reputation: 0
#1
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 would I need to use to make that happen.
05-29-2012, 02:38 AM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: some scripting help

(05-29-2012, 02:38 AM)Battlefield3142 Wrote: 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 would I need to use to make that happen.
SetEntityPlayerInteractCallback
SetEntityActive
GiveSanityDamage.

05-29-2012, 03:00 AM
Find
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#3
RE: some scripting help

Haven't seen this before.

05-29-2012, 03:18 AM
Find
Battlefield3142 Offline
Junior Member

Posts: 13
Threads: 3
Joined: May 2012
Reputation: 0
#4
RE: some scripting help

thanks for the help, and yeah, ik its been done before, its really, really stupid, i agree.
05-29-2012, 04:11 AM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#5
RE: some scripting help

(05-29-2012, 04:11 AM)Battlefield3142 Wrote: thanks for the help, and yeah, ik its been done before, its really, really stupid, i agree.
Why do you do it then?lol

(This post was last modified: 05-29-2012, 05:44 AM by Datguy5.)
05-29-2012, 05:43 AM
Find
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#6
RE: some scripting help

(05-29-2012, 05:43 AM)Datguy5 Wrote:
(05-29-2012, 04:11 AM)Battlefield3142 Wrote: thanks for the help, and yeah, ik its been done before, its really, really stupid, i agree.
Why do you do it then?lol
Gotta crawl before you can walk, right? Smile

EDIT: Actually, nah, that aint right haha
(This post was last modified: 05-29-2012, 01:38 PM by Adrianis.)
05-29-2012, 01:38 PM
Find




Users browsing this thread: 1 Guest(s)