Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"SetEntityActive" Help.
Author Message
Stepper321 Offline
Senior Member

Posts: 263
Joined: Nov 2011
Reputation: 8
Post: #11
RE: "SetEntityActive" Help.

Armour nice complete is a entity =).

Try it in the CallbackFunc in the entities tab of the oil and add superscare

and then youll only have to add this:


void superscare(string &in Entity)
{
SetEntityActive("armour_nice_complete_1", true);
SetEntityActive("armour_nice_complete_2", true);
SetEntityActive("armour_nice_complete_3", true);
SetEntityActive("armour_nice_complete_4", true);
SetEntityActive("armour_nice_complete_5", true);
}

Signature to awesome to be displayed.
03-14-2012 02:29 PM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,285
Joined: Apr 2011
Reputation: 57
Post: #12
RE: "SetEntityActive" Help.

(03-14-2012 02:16 PM)Strembitsky Wrote:  I had this problem in my CS, and I asked Statyk. He said that you cannot set static entities active/unactive, so I had to go into the model editor and change the object's properties.
Statues aren't static.

03-14-2012 02:35 PM
Find all posts by this user Quote this message in a reply
Strembitsky Offline
Member

Posts: 246
Joined: Feb 2012
Reputation: 3
Post: #13
RE: "SetEntityActive" Help.

Well, when I attempted to do it, it didn't work, and I had to edit it in the model editor. All I'm saying is that it's worth a try.

The Nightmares v1.0 - Dreadful Fires WIP
03-14-2012 07:35 PM
Find all posts by this user Quote this message in a reply
pandasFTW Offline
Member

Posts: 71
Joined: Feb 2012
Reputation: 2
Post: #14
RE: "SetEntityActive" Help.

alright, sorry to get a little off topic here, well... kind of... but how do i make statues and stuff DESPAWN again? i cant seem to do it Sad
03-14-2012 08:44 PM
Find all posts by this user Quote this message in a reply
SilentStriker Offline
Posting Freak

Posts: 950
Joined: Jul 2011
Reputation: 42
Post: #15
RE: "SetEntityActive" Help.

SetEntityActive("armour_nice_complete_1", false);

03-14-2012 09:04 PM
Find all posts by this user Quote this message in a reply
Asaratha Offline
Junior Member

Posts: 14
Joined: Jul 2011
Reputation: 0
Post: #16
RE: "SetEntityActive" Help.

(03-14-2012 02:29 PM)Stepper321 Wrote:  Armour nice complete is a entity =).

Try it in the CallbackFunc in the entities tab of the oil and add superscare

and then youll only have to add this:


void superscare(string &in Entity)
{
SetEntityActive("armour_nice_complete_1", true);
SetEntityActive("armour_nice_complete_2", true);
SetEntityActive("armour_nice_complete_3", true);
SetEntityActive("armour_nice_complete_4", true);
SetEntityActive("armour_nice_complete_5", true);
}
This worked, thanks everybody. <3
03-14-2012 10:46 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)