+- 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: Nothing is working. (/thread-18167.html)
I've had this problem for a while now and have yet found a solution. The issue I'm having is that even if the callbacks are called nothing is happening. I've split the script up and tested them each by individually and it seems that none of them work even though they work outside the map.
I tested with a simple "interact - something happens"- script on an area. The handicon appeared but when I clicked nothing happened.
Is there something wrong with the map itself? Because all other maps works just fine.
asName is undefined. What is this supposed to be? I commented this line out and the rest of the script ran fine.
Additionally, you are getting warnings from double->float conversions. These are in both CorpseDissappear functions:
Code:
StartScreenShake(0.1f, 0, 0.1, 0.1);
--should be-
StartScreenShake(0.1f, 0, 0.1f, 0.1f);
These warnings are harmless, but they do clutter up the error messages pane, so it's always good to fix them.
Aside from that, everything else seems to work. I cannot use the picked up jars on the flasks - but this is because you haven't added the relevant AddUseItemCallbacks yet.
If after doing the above fixes nothing still seems to work i suggest you look at renaming your map (e.g. storage_area) - perhaps there is a naming conflict, or you have two versions of the map and the game is loading an older one. Also make sure you have deleted any .map_cache files.