Game (functions)/Rescue Management: Difference between revisions
From PMDOWiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== | == EnterRescue == | ||
Enters a zone and begins a rescue adventure. | Enters a zone and begins a rescue adventure. | ||
=== Arguments === | === Arguments === | ||
| Line 17: | Line 15: | ||
</pre> | </pre> | ||
== | == AddAOKRemark(System.Int32) == | ||
TODO: WIP | TODO: WIP | ||
=== Arguments === | === Arguments === | ||
| Line 27: | Line 23: | ||
* <code>remarkIndex</code>: None | * <code>remarkIndex</code>: None | ||
== | == HasSOSMail == | ||
TODO | TODO | ||
== HasAOKMail == | |||
== | |||
TODO | TODO | ||
= | == HasServerSet == | ||
TODO: WIP | TODO: WIP | ||
== GetRescueAllowed == | |||
== | |||
Checks to see if rescue is allowed. | Checks to see if rescue is allowed. | ||
=== Returns === | === Returns === | ||
| Line 64: | Line 43: | ||
True if rescues are allowed, false otherwise. | True if rescues are allowed, false otherwise. | ||
== | == SetRescueAllowed == | ||
Sets the value in the player's save file to determine if they can be rescued or not. If rescue is possible on the Save File level, it can still be prevented by the map. | |||
=== Arguments === | === Arguments === | ||
{| class="wikitable" | |||
{{ArgHeader}} | |||
{{ArgRow | |||
|name=allowed | |||
|type=Boolean | |||
|techt=System.Boolean | |||
|purp=Set to true to allow the player to be rescued. False otherwise. | |||
}} | |||
|} | |||
Revision as of 21:49, 17 January 2026
EnterRescue
Enters a zone and begins a rescue adventure.
Arguments
sosPath: The path of the sos mail.
Example
GAME:EnterRescue("RESCUE/INBOX/SOS/example.sosmail")
AddAOKRemark(System.Int32)
TODO: WIP
Arguments
remarkIndex: None
HasSOSMail
TODO
HasAOKMail
TODO
HasServerSet
TODO: WIP
GetRescueAllowed
Checks to see if rescue is allowed.
Returns
True if rescues are allowed, false otherwise.
SetRescueAllowed
Sets the value in the player's save file to determine if they can be rescued or not. If rescue is possible on the Save File level, it can still be prevented by the map.
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| allowed | Boolean | System.Boolean
|
Set to true to allow the player to be rescued. False otherwise. |
