Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   /undo script (https://forums.graalonline.com/forums/showthread.php?t=134262510)

BioWare 03-22-2011 10:03 PM

/undo script
 
Im wondering is it able to make a /undo script that would undo all the stuff a player did? Like when you type on word and you delete something on accident you can undo it.

WhiteDragon 03-22-2011 11:09 PM

Well, with text, Ctrl+Z still works (or Command+Z for Macs).

For other stuff, it would be possible, but you'd need to have a stack filled with enough information to rebuild the old state from your current state (like a stack of diffs). The diff would obviously vary depending what you're building the undo ability for.

If you give a more concrete example, perhaps better advice can be given.

salesman 03-22-2011 11:13 PM

You should probably just keep regular backups if you're worried about staff screwing up...versioning might be cool.

cbk1994 03-22-2011 11:40 PM

Quote:

Originally Posted by WhiteDragon (Post 1638352)
Well, with text, Ctrl+Z still works (or Apple+Z for Macs).

Command + Z, not Apple + Z :cry:.

BioWare 03-23-2011 05:24 PM

Quote:

Originally Posted by salesman (Post 1638353)
You should probably just keep regular backups if you're worried about staff screwing up...versioning might be cool.

Probably the best idea yes..
I just thought it would help people that are not sure of a player.
But i also mainly ment levels though.


All times are GMT +2. The time now is 10:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.