I still don't know if this will work out but here goes...
The basic idea (from warcraft maps) is changing the game by adding dynamic variables, triggers and statements while running the game.
Variables can be added in a stack which can be used for commands, statements and triggers. The variables can be a type representing a zone, player, string, integer, const or an array of these.
Each trigger will execute a list of functions according to its conditions when a specific event occurs.
eg : If a player dies(event), all the triggers having this event type will be run.
Then it will check its conditions. If they become true then the statements will be called.
_______________________________
So with this i can make a trigger showing a message "You have 'n' respawns left" whenever a player dies.
Code: Select all
Trigger "The respawner"
Event--
ePlayer Death
Condition--
if((player_respawns(player_1) > 0) = true)
Statement--
Set_Variable respawn_message = ("You have " + player_respawns + " respawns left")
Console_Message(player_1, respawn_message)
-- putting a base for the conqueror (player) in place of the collapsing zone (fortress becomes captured by the enemy turning it into his own base)
-- Better respawning
-- Timed events
-- New zone features, etc
And better if i attain a working src of the game for windows

