Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000946Zandronum[All Projects] Suggestionpublic2012-08-01 22:512014-06-12 20:16
ReporterLlewellyn 
Assigned To 
PrioritynoneSeverityfeatureReproducibilityN/A
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version1.0-beta 
Target VersionFixed in Version 
Summary0000946: EXIT script type.
DescriptionBasically a new Script type that happens when an actor activates an exit. (Switch, walkover, etc.)
The script type, EXIT, uses a return value to determine whether it should actually exit or not. Return of -1 means do not exit. The default return value of 0 means normal exit. Any other value above 0 means a map number.

Additional things that may or may not happen:
If the script is Delayed, then the map does not exit until a return value is given (assumes -1).
Script should probably be AlwaysExecuted.
Script should probably be stopped if the map changes.

Example:

Script 1 EXIT
{
if (GetActorInventory(ActivatorTID(), "BlueCard", 1))
    terminate;
else
    Return -1;
}

(I wanted this so I could make a mod and use old maps or stock Doom2 maps.)
Attached Files

- Relationships

-  Notes
User avatar (0004179)
ZzZombo (reporter)
2012-08-01 23:03

Huh? What stopped you from checking such things as keys the player has upon activation of the exit button in an activation script which has to be bound to the button via action specials? I recommend close this issue. For old maps use a map translator (http://www.zdoom.org/wiki/Map_translator).
User avatar (0004180)
Llewellyn (reporter)
2012-08-01 23:06
edited on: 2012-08-01 23:49

ZzZombo, I don't want to edit every map in Doom2.wad and release it illegally, sorry. But I'll look into this Map_Translator feature (that I've never even heard of.)
EDIT: I think MAP_TRANSLATOR would probably work instead of this, IF it was implemented, which it isn't.

User avatar (0004182)
Dusk (developer)
2012-08-02 00:30
edited on: 2012-08-02 00:31

I think this should be asked from ZDoom first?

Also, a script cannot return a value, you probably want SetResultValue

User avatar (0009159)
Watermelon (developer)
2014-06-12 20:16

Check EVENTS for zan 1.3 and see if this is possibly solved there

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-08-01 22:51 Llewellyn New Issue
2012-08-01 23:03 ZzZombo Note Added: 0004179
2012-08-01 23:06 Llewellyn Note Added: 0004180
2012-08-01 23:08 Llewellyn Note Edited: 0004180 View Revisions
2012-08-01 23:10 Llewellyn Note Edited: 0004180 View Revisions
2012-08-01 23:10 Llewellyn Note Edited: 0004180 View Revisions
2012-08-01 23:49 Llewellyn Note Edited: 0004180 View Revisions
2012-08-02 00:30 Dusk Note Added: 0004182
2012-08-02 00:31 Dusk Note Edited: 0004182 View Revisions
2012-09-06 08:46 Llewellyn Note Added: 0004602
2012-09-10 02:22 Llewellyn Note Deleted: 0004602
2014-06-12 20:16 Watermelon Note Added: 0009159
2014-06-12 20:16 Watermelon Status new => feedback






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker