FutureProg functions
setformallowvoluntary
Overload 1
setformallowvoluntary overload 1
Boolean setformallowvoluntary(Character character, Number form, Boolean allowVoluntary)
Available in
- computer function
- computer program
- standard futureprog
Sets whether a form permits voluntary switching and returns true on success.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character who owns the form |
form |
Number |
The form alias or body id |
allowVoluntary |
Boolean |
Whether voluntary switching should be allowed |
Overload 2
setformallowvoluntary overload 2
Boolean setformallowvoluntary(Character character, Text form, Boolean allowVoluntary)
Available in
- computer function
- computer program
- standard futureprog
Sets whether a form permits voluntary switching and returns true on success.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character who owns the form |
form |
Text |
The form alias or body id |
allowVoluntary |
Boolean |
Whether voluntary switching should be allowed |