WDFUSE Tutorial - Scripting II

From DF21 Wiki
Revision as of 12:52, 2 July 2022 by DF21net (talk | contribs) (Created page with "== Doors == Now it is time to go over making and interacting with doors. Keep in mind that everything in Dark Forces that moves is an elevator. This means that doors as well, are just different variations of elevators. One important to keep remember is that while you can always make a door with INF logic, it is '''much easier''' to just set the Flag 1 options to 2 (Door). none|thumb|400x400px With that out of the way lets continue to the '''DOORS1'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Doors

Now it is time to go over making and interacting with doors. Keep in mind that everything in Dark Forces that moves is an elevator. This means that doors as well, are just different variations of elevators. One important to keep remember is that while you can always make a door with INF logic, it is much easier to just set the Flag 1 options to 2 (Door).

With that out of the way lets continue to the DOORS1 room.

For this part you may want to move the Player Start so you start immediately in this room.

In front of you are three doors. Lets look at the logic of the one on the left.

seq
  class: elevator door
seqend