View Issue Details
Category | |||||
---|---|---|---|---|---|
整備班:YAYA | |||||
Severity | feature | Reproducibility | N/A | ||
Status | closed | ||||
Summary | 0000199: Add a function to yaya to get the name of the current mode | ||||
Description | When I use the backup dictionary to boot to the emergency mode, I am confused about how I know it is normal mode or something other | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
|
(Not the original poster) My personal solution to this is to load a new file called emerg.dic when in emergency mode. emerg.dic has a function like this: IsEmergencyMode { 1 } Then, to determine if the ghost is in emergency mode, all I have to do is write if IsEmergencyMode or if ISFUNC("IsEmergencyMode") For most of my ghosts, though, I don't even load their normal dic files in emergency mode. If you give your emergency mode a completely unique dic and don't load the normal ones at all, there is no need to check if the ghost is in emergency mode or not, since it must be if that file is loaded. Whether this function is added or not, maybe these workarounds can help you |
|
Please use GETSETTING('coreinfo.mode') -> return 'normal' or 'emergency' Tc556-2 fixed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-06-29 11:35 | guest | New Issue | |
2021-06-29 18:11 | guest | Note Added: 0000437 | |
2021-06-30 04:50 | ponapalt | Assigned To | => ponapalt |
2021-06-30 04:50 | ponapalt | Status | new => closed |
2021-06-30 04:50 | ponapalt | Resolution | open => fixed |
2021-06-30 04:50 | ponapalt | Note Added: 0000438 |