Game (functions)/Rescue Management: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
No edit summary
Imbion (talk | contribs)
No edit summary
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(System.Int32) ==
 


TODO: WIP
TODO: WIP


=== Arguments ===
=== Arguments ===
Line 27: Line 23:
* <code>remarkIndex</code>: None
* <code>remarkIndex</code>: None


== GAME:HasSOSMail ==
== HasSOSMail ==
 


TODO
TODO


 
== HasAOKMail ==
== GAME:HasAOKMail ==
 


TODO
TODO


= GAME:InRogueMode ==
== HasServerSet ==
 
 
Checks if the current game is in rogue mode.
 
 
=== Returns ===
 
True if in rogue mode, false otherwise.
 
== GAME:HasServerSet ==
 


TODO: WIP
TODO: WIP


 
== GetRescueAllowed ==
== GAME: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.


== GAME:SetRescueAllowed(System.Boolean) ==
== 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.


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>allowed</code>: Set to true to allow the player to be rescued.  False otherwise.
{{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.