Frictional Games Forum (read-only)

Full Version: "SetEntityActive" Help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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);
}


(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.

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.
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
SetEntityActive("armour_nice_complete_1", false);
(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
Pages: 1 2