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
Are things can disappear?
giacomo9 Offline
Junior Member

Posts: 37
Threads: 11
Joined: Nov 2012
Reputation: 0
#1
Are things can disappear?

I know that script " void SetEntityActive(string& asName, bool abActive); " makes something becomes active.
Is there script that makes something becomes inactive? (I want to scare the player: he sees a dead body in a chair, and when he gets closer, it will disappear - I'm looking for a script that will do it).
11-25-2012, 01:45 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Are things can disappear?

SetEntityActive("Nameofentity", false);

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
11-25-2012, 02:18 PM
Find
failedALIAS Offline
Posting Freak

Posts: 2,782
Threads: 16
Joined: Jun 2012
Reputation: 97
#3
RE: Are things can disappear?

"Are things can disappear?"

Great vocabulary
(This post was last modified: 11-25-2012, 10:03 PM by failedALIAS.)
11-25-2012, 10:02 PM
Find
giacomo9 Offline
Junior Member

Posts: 37
Threads: 11
Joined: Nov 2012
Reputation: 0
#4
RE: Are things can disappear?

(11-25-2012, 10:02 PM)failedALIAS Wrote: "Are things can disappear?"

Great vocabulary
I'm from Poland, my English isn't very good, sorry - I do my best xD
11-25-2012, 10:51 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#5
RE: Are things can disappear?

(11-25-2012, 10:51 PM)giacomo9 Wrote:
(11-25-2012, 10:02 PM)failedALIAS Wrote: "Are things can disappear?"

Great vocabulary
I'm from Poland, my English isn't very good, sorry - I do my best xD
It would be: Can things dissapear?

Yes, the title confused me when I saw it Big Grin

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
11-25-2012, 11:09 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#6
RE: Are things can disappear?

SetEntityActive(""NameOfItem", true); Makes the item appear

SetEntityActive(""NameOfItem", false); Makes the item dissapear

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
11-26-2012, 08:41 PM
Website Find
giacomo9 Offline
Junior Member

Posts: 37
Threads: 11
Joined: Nov 2012
Reputation: 0
#7
RE: Are things can disappear?

Thank You all, problem solved Big Grin
11-27-2012, 05:43 PM
Find




Users browsing this thread: 1 Guest(s)