Frictional Games Forum (read-only)
[SCRIPT] Wheel Door - 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: [SCRIPT] Wheel Door (/thread-25232.html)



Wheel Door - MacKetchup - 05-07-2014

Hello. I wonder how i open a "skulldoor" with a turningwheel

MacKetchup


RE: Wheel Door - PutraenusAlivius - 05-07-2014

PHP Code:
void InteractConnectPropWithMoveObject(stringasNamestringasPropNamestringasMoveObjectNamebool abInteractOnly,
bool abInvertint alStatesUsed); 



RE: Wheel Door - Neelke - 05-07-2014

This might be something of use for you, MacKetchup.

https://wiki.frictionalgames.com/hpl2/tutorials/start


RE: Wheel Door - MacKetchup - 05-07-2014

yes thank you Big Grin

string& asMoveObjectName, bool abInteractOnly,
bool abInvert, int alStatesUsed);[/php]


what are these?
AddEntityCollideCallback("Player", "valve_iron_1", "Oppnadorr", true , 1);

void Oppnadorr(string &in asParent, string &in asChild, int alState)
{
InteractConnectPropWithMoveObject("Player","safety_normal_vert_1" ,"valve_iron_1" , true,
true, 1);
}