What is scripting in HPL3?

From Frictional Wiki
< HPL3
Revision as of 22:04, 13 August 2020 by TiMan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.