/////////////////////////////////////////////////////////////////
//////      2.2 Auto-Free-For-All System        /////
/////           Author: Unknown                      /////
////       Code conversion by: Vorspire       /////
////////////////////////////////////////////////////////////

Additional Edits & Bug Fixes by:

                                                
 _____        _    _ _       _____ _                 
|          |___|   |_|_|  |_   |     __ |  |_ ___ ___ ___ 
|     |    |   _ |   .  |  |   _|  |__      |   _|   .  |   _ |       |
|_____|_|   |___|_|_|     |_____|_|  |___|_|   |_|_|_|
                                                

														

WHAT IS IT?
A Free-For-All style tournament, where players may signup for the event via a "Tournament Signup Book", and fight to the death - last player standing wins.


HOW DO I USE IT?
The script is drag n' drop (with a reboot of course).

Once in-game, [add FFAStone wherever you like (I suggest setting visible = false. It's inaccessible by players, but would look silly in the middle of town.) You'll need to [props the stone and specify coordinates for your tournament region. There are a number of other various settings in the menu as well, which are covered in-depth below.

Add your FFAAnnouncer, as well as your FFASignupBook somewhere accessible by your players. Remember to link the 3 together via [props.

You can restrict the use of various spells in the tournament by simply dbl-clicking the FFAStone itself.


COMMANDS TO REMEMBER:
[Add FFAStone
[Add FFAAnnouncer
[Add FFASignupBook



FFAStone Properties:
Announcer ->  Use this property to link your FFAAnnouncer to the stone.
CanHeal -> Common sense. True/False value to permit players to heal during the tournament.
CanUsePotions -> Same as above, only for potions.
CurrentGameState -> Enabled/Disabled. Enabled "starts" the stone, and allows signups via the FFASignupBook.
FightingArea -> Use this property to specify your tournament region.
MagicWeapons -> True/False value to allow/disallow use of magic-based weapons.
MinimumPlayers -> Specify the minimum number of participants required before the tournament begins.
PlayerCount -> Read-Only property that displays how many players have signed up.
SpectatorLocation -> Same for the FightingArea, only for spectactors.
SpectatorLocation -> Location where players defeated during the tournament are teleported to. I suggest placing it somewhere within your SpectatorArea region.


FFASignupBook Properties:
FFAStone -> Use this property to link your FFASignupBook to the FFAStone.

___________________________________


Additional Information:

The old system used a "TourneyTicket" as a reward, that was dropped into the tournament winner's backup upon event end. I do NOT currently have a TourneyTicket script, but if you wish to use your own (i.e. script one), you may do so. Simply uncomment line's 280 and 281. 

If you wish to use your own specified prize, you'll need to change - 
m.AddToBackpack(new TourneyTicket());

to

m.AddToBackpack(new YourPrize());

I also recommend changing the system message to the name of your prize as well.



In line 1255, you can edit the main body text for the FFASignupBook gump if you're not happy with the current information.

___________________________________


I'll provide limited support for this system as it is currently 100% functional. No adjustments are needed, make them at your own risk!

Good luck, and have fun!