[allow_undo]'s contents

Brainstorm ideas of possible additions to the game. Read this before posting!

Moderator: Forum Moderators

Forum rules
Before posting a new idea, you must read the following:
Post Reply
mihoshi
Posts: 52
Joined: February 16th, 2008, 10:18 pm

[allow_undo]'s contents

Post by mihoshi »

What about parsing contents of [allow_undo] as actions, that should be done in case of action being undone?
For example, there is event when unit get an item when step on a hex. Then actions in [allow_undo] will return that item back.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: [allow_undo]'s contents

Post by zookeeper »

A feature request for this already exists. It'd be a very useful thing to have, but I'm guessing the actual implementation might be a bit different (as I understand, it'd be tricky to implement so that you could just write commands inside the [allow_undo] tag and the rest would be automatic).
Post Reply