Player falls - 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: Player falls (/thread-8588.html) Pages:
1
2
|
RE: Player falls - Janni1234 - 06-14-2011 (06-14-2011, 12:46 PM)Russ Money Wrote: For the "lying on the floor" effect, use this function: Okay.Thanks. RE: Player falls - Russ Money - 06-14-2011 (06-14-2011, 01:26 PM)Janni1234 Wrote: Okay.Thanks. No prob bob. RE: Player falls - miguli - 06-14-2011 Not working, and i dont know where put those: FadePlayerRollTo(50, 150, 150); FadePlayerRollTo(0, 33, 33); Error comes and says: FATAL ERROR: Could not load script file 'custosm_stories/plah/plah/plah/plaah/castleway.hps'! main(53,1) : ERR : No matching signatures to 'SetPlayerStateToNormal()' Script: Quote:void OnStart() RE: Player falls - xtron - 06-14-2011 well...I guess you could try to change the SetPlayerStateToNormal(); to SetPlayerStateToNormal(false); or just delete it. RE: Player falls - Roenlond - 06-14-2011 SetPlayerStateToNormal(); isn't a function, at least not in the wiki page. So it's probably calling a custom function and since there's nothing with that name to call, it errors out. Remove the line and you shouldn't have the error, I believe RE: Player falls - miguli - 06-14-2011 Not working.. :/ Works, but i dont know where i put that falling. (XD i forgot save map before testing, sorry guys!!) RE: Player falls - nemesis567 - 06-14-2011 nevermind it... RE: Player falls - miguli - 06-15-2011 Now everything is perfect falling and everything RE: Player falls - Hardarm - 06-15-2011 If you want the player really falling i don't know because the plane isn't an entity, though. Am i wrong? i can't even disable it when i click to it on the editor. |