Frictional Games Forum (read-only)
"SetEntityActive" Help. - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: "SetEntityActive" Help. (/thread-13980.html)

Pages: 1 2


RE: "SetEntityActive" Help. - Stepper321 - 03-14-2012

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);
}





RE: "SetEntityActive" Help. - flamez3 - 03-14-2012

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




RE: "SetEntityActive" Help. - Strembitsky - 03-14-2012

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.


RE: "SetEntityActive" Help. - pandasFTW - 03-14-2012

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



RE: "SetEntityActive" Help. - SilentStriker - 03-14-2012

SetEntityActive("armour_nice_complete_1", false);


RE: "SetEntityActive" Help. - Asaratha - 03-14-2012

(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