SetPropActiveandFade(Nevermind...) - 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: SetPropActiveandFade(Nevermind...) (/thread-5821.html) |
SetPropActiveandFade(Nevermind...) - Dark88 - 12-21-2010 So, I've been trying to get a script working that causes the entity to fade into view like the shadow's slime does a few times in the main story. I thought maybe it was just this function but whenever I try to run it it says No matching signatures to SetPropActiveandFade(string@&, const bool, const uint). I first thought maybe it was because it didn't recognize the entity but it works fine if I just use the SetEntityActive function. My guess I'm either doing it wrong or my assumptions of what this function actually means is wrong. I was wondering if anyone had an insight as to what could be the issue. Here's just the basic script I'm trying to get to run before getting crazy with it: Code: void OnStart() Edit:Immediately after posting this I double checked the code for like the twentieth time and realized how foolish I was to have missed that it's because I didn't capitalize And in the function. I spent almost 3 hours staring at the code and didn't once realize I left it uncapitalized... Fixed recompiled it and now it works. I'm sorry for wasting anyone's time reading this... RE: SetPropActiveandFade(Nevermind...) - Frontcannon - 12-21-2010 That's why I use Notepad++ |