FutureProg functions
setclimb
setclimb overload 1
Exit setclimb(Exit exit, OverlayPackage overlay, Boolean state, Number difficulty)
Available in
- computer function
- computer program
- standard futureprog
Sets whether an exit overlay is a climb exit and records the associated climb difficulty. Returns the edited exit or null if the exit/package is null or the package is not editable.
| Parameter | Type | Description |
|---|---|---|
exit |
Exit |
The exit to edit or copy into the supplied overlay package. |
overlay |
OverlayPackage |
The editable overlay package where the change should be made. |
state |
Boolean |
Whether the exit should require climbing. |
difficulty |
Number |
The climb difficulty enum value to store on the exit. |