![]() |
Secret Idea (dun dun DUN) + Help Needed - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Secret Idea (dun dun DUN) + Help Needed (/thread-7224.html) Pages:
1
2
|
RE: Secret Idea (dun dun DUN) + Help Needed - Anxt - 04-08-2011 Yeah, that's also true. RE: Secret Idea (dun dun DUN) + Help Needed - Simpanra - 04-08-2011 I have looked at palistov's script and I am slightly confused, it looks like it may do what I want but I can't find the place in which I would place my collide callback function for when I collide with the first area. Also, as far as my limited knowledge goes, it looks like the restore sanity function would simply happen straight after the drain sanity function? Sorry if i am completely mistaken but thank you all for the help so far =) RE: Secret Idea (dun dun DUN) + Help Needed - palistov - 04-08-2011 (04-08-2011, 08:18 AM)Simpanra Wrote: I have looked at palistov's script and I am slightly confused, it looks like it may do what I want but I can't find the place in which I would place my collide callback function for when I collide with the first area. Also, as far as my limited knowledge goes, it looks like the restore sanity function would simply happen straight after the drain sanity function? You add the collide callback under your OnStart() And no, the drain will end once the player leaves the area (when alState == -1), and the restoration of sanity will also only occur on exiting the script area. I had some strange idea with the local vars which match alState...I'm starting to think that they aren't even needed. the entire script file containing only your drain event will look like this: Code: void OnStart() EDIT: This current script can be gimmicked by the player; they can simply step in then step backwards. Using two areas would actually provide the intended effect. Anxt was right ![]() RE: Secret Idea (dun dun DUN) + Help Needed - Simpanra - 04-08-2011 Aha! that makes sense! thank you very much for providing me with the script too =) I am in your debt kind sir ^_^ You have my gratitude and my cookies x3 I will get back to you with reports of the success =) Thank you again, Edd RE: Secret Idea (dun dun DUN) + Help Needed - Anxt - 04-08-2011 D: I don't get any cookies?!!? :'( RE: Secret Idea (dun dun DUN) + Help Needed - palistov - 04-09-2011 I would be THRILLED to share a cookie with you Anxt! And I'm glad to help, Simpanra. Good luck with the event! RE: Secret Idea (dun dun DUN) + Help Needed - GraphicsKid - 04-10-2011 You're trying to make an underwater effect aren't you. ![]() Trust me, don't bother with it, I've already tried. You can't use any monsters near water, they don't "feel" right. They move like the water isn't even there. Man I hope I was right in my first sentence there otherwise the rest of this post has been a waste of time... lol RE: Secret Idea (dun dun DUN) + Help Needed - MrBigzy - 04-10-2011 Nice waterlurker avatar, lmao. |