Difference between revisions of "HPL3/Scripting/Scripting Guide/What is scripting in HPL3?"
< HPL3
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Hpl3ScriptingGuideMenuBasic}} | {{Hpl3ScriptingGuideMenuBasic}} | ||
− | |||
{{shortPageTitle}} | {{shortPageTitle}} | ||
− | |||
− | |||
Scripting in the context of HPL3 means '''defining the behavior and the events of your map in the form of code, and ultimately, making your map come to life.''' Without scripting, your map will be static without any gameplay. | Scripting in the context of HPL3 means '''defining the behavior and the events of your map in the form of code, and ultimately, making your map come to life.''' Without scripting, your map will be static without any gameplay. |
Latest revision as of 22:04, 13 August 2020
Scripting in the context of HPL3 means defining the behavior and the events of your map in the form of code, and ultimately, making your map come to life. Without scripting, your map will be static without any gameplay.
The script is written inside the map’s script file. You code how objects in the map are supposed to behave as well as the events that will happen in the map.
For example, if you want to make a monster appear when the player enters a room or to make a cool looking explosion, this is where you usually do that. In our case, it can almost be viewed as regular programming, but not necessarily as complicated.