Frictional Games Forum (read-only)
Amnesia Script Tutorial - Monster Path - 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 Articles (https://www.frictionalgames.com/forum/forum-40.html)
+---- Thread: Amnesia Script Tutorial - Monster Path (/thread-15335.html)

Pages: 1 2


RE: Amnesia Script Tutorial - Monster Path - Adrianis - 05-14-2012

Or just do that ^ Smile


RE: Amnesia Script Tutorial - Monster Path - Dutton - 05-16-2012

(05-11-2012, 07:11 PM)Adrianis Wrote: You guys looking for tutorials on if-else statements and variables, I highly recommend you look outside of this community for it. These are fundamentals for all programming and scripting languages, so there must be a great many well made tutorials on it, but the HPL2 modding community is relatively small, so people don't want to spend their tutorial time covering these things when the more specific or undocumented things need tutorials.

HPL2 uses Angel Script so look for tutorials on statements and variables in Angel Script. Javascript is similar so you would likely find a tutorial for that (as its common for web development), or even C++ which is the language both of the above are based on
Thanks will definitely try searching on it.


(05-13-2012, 01:02 AM)Homicide13 Wrote: or just look around in the wiki.

http://wiki.frictionalgames.com/hpl2/tutorials/script/tutorial_1
There are no direct explaination of If, Then, Else and/or Global/Local Variables on the wiki page.


RE: Amnesia Script Tutorial - Monster Path - Adrianis - 05-17-2012

Edit to remove. Was gonna point out that your supposed to compare the correctly written script with description of it, but actually it clearly states that the code isn't correct Smile
It DOES explain the logic of it, just doesn't show you a working piece of code to take it from