Script 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: Script help (/thread-24106.html) Pages:
1
2
|
Script help - Steelen - 12-12-2013 The code: Code: void OnEnter() The error I get: RE: Script help - daortir - 12-12-2013 AddEntityCallback doesn't exist if I am correct. Try replacing it with AddEntityInteractCallback. RE: Script help - Daemian - 12-12-2013 PlayMusic amb_soft_mood You're making a porn cs ? Just kidding, Daortic is probably right. RE: Script help - daortir - 12-12-2013 I think a porn parody CS could be pretty hilarious : p. I guess the Dark Room Pedobear sequence was kinda close to that though xD By the way, it's Daortir ;_; No one can spell this right, I'll think I'll just rename to "D". And when you guys will piss me off I'd just leave the forums, AND EVERYONE WILL BE SAD. And I'd be like, now you guys want the "D". Sorry about that. So, did you try to change what I suggested ? RE: Script help - Steelen - 12-12-2013 (12-12-2013, 10:21 PM)daortir Wrote: AddEntityCallback doesn't exist if I am correct. Try replacing it with AddEntityInteractCallback. I got the same error but instead of saying the AddEntityCallback, it was AddEntityInteractCallback (sorry for the white stuff over it, no sex jokes please) RE: Script help - Daemian - 12-12-2013 Yeap, let's soften the mood. Sorry. You should really use a copy of another working mod. You're getting a weird path to your files in that error. RE: Script help - daortir - 12-13-2013 Also, void monsterspawn should say void monsterspawn(string &in asEntity). Try that maybe ? RE: Script help - Steelen - 12-13-2013 (12-13-2013, 12:02 AM)daortir Wrote: Also, void monsterspawn should say void monsterspawn(string &in asEntity). Same error RE: Script help - daortir - 12-13-2013 Try removing the 1 in your callback. Make it AddEntityInteractCallback("Player", "livingkey", "monsterspawn", true); If it works you owe me a cookie. RE: Script help - Steelen - 12-13-2013 (12-13-2013, 12:12 AM)daortir Wrote: Try removing the 1 in your callback. Make it Nope |