Frictional Games Forum (read-only)
Agrippas head being reattached? - 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: Agrippas head being reattached? (/thread-10657.html)



Agrippas head being reattached? - Gamemakingdude - 10-08-2011

Is this possible? To reattach agrippas head to his body?


RE: Agrippas head being reattached? - Elven - 10-08-2011

Yes, do it opposite way of attaching it from body ^^

Basically use agrippa without head and when you use head on body, replace entity with agrippa with head Smile



RE: Agrippas head being reattached? - Gamemakingdude - 10-09-2011

How do i script this?


RE: Agrippas head being reattached? - Tanshaydar - 10-09-2011

Item: Agrippa's Head
Entity: Headless Agrippa

AddUseItem Callback -> Headless Agrippa, Agrippa's Head

Callback Function -> Set Headless Agrippa inactive, Set Headly Agrippa active

Or would you rather want the full script instead of a pseudocode


RE: Agrippas head being reattached? - Gamemakingdude - 10-09-2011

I think i can understand what i have to do fromt he pseudocode, ill give it a try.
Ok the script is working but i cant use the object on agrippas headless body, i guess i have to make a custom body correct?


RE: Agrippas head being reattached? - Gamemakingdude - 10-09-2011

I tried making agrippa an item for a puzzle, but my map crashes on load up.


RE: Agrippas head being reattached? - Tanshaydar - 10-09-2011

Wasn't Agrippa's head already an item? Did you write the name of the items correctly in respect to level editor?


RE: Agrippas head being reattached? - Gamemakingdude - 10-09-2011

No agrippa headless... Ive made another solution and it works fine!


RE: Agrippas head being reattached? - Elven - 10-09-2011

good to know Smile