Game (functions)/Rescue Management: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
Created page with "== GAME:EnterRescue == Enters a zone and begins a rescue adventure. === Arguments === * <code>sosPath</code>: The path of the sos mail. === Example === <pre> GAME:EnterRescue("RESCUE/INBOX/SOS/example.sosmail") </pre> == GAME:AddAOKRemark(System.Int32) == TODO: WIP === Arguments === * <code>remarkIndex</code>: None"
 
Imbion (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== GAME:EnterRescue ==
== 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>


== GAME:AddAOKRemark(System.Int32) ==
== AddAOKRemark ==
 
TODO: WIP
 
=== Arguments ===


* <code>remarkIndex</code>: None
== HasSOSMail ==
TODO
== HasAOKMail ==
TODO
== HasServerSet ==


TODO: WIP
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 ===
=== Arguments ===
 
{| class="wikitable"
* <code>remarkIndex</code>: None
{{ArgHeader}}
{{ArgRow
|name=allowed
|type=Boolean
|techt=System.Boolean
|purp=Set to true to allow the player to be rescued.  False otherwise.
}}
|}

Latest 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

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.