nev6502
ccf506a68b
Callback function is now an optional parameter across the various action creation functions, because some times actions are created expressely to be merged into another action to create a 2 action trigger, and thus the standalone action gets discarded. Entering a callback parameter just for the sake of requiring it is not very nice or clean.
2020-06-21 18:45:59 -06:00
nev6502
7836514a16
Removed some commented out debug code
2020-06-21 15:17:08 -06:00
nev6502
569c925c04
Added ability to fire trigger only once (VOLATILE). It's a good thing I did because it exposed an issue with the merge trigger function. The old code was allowing a trigger to exist more than once in the various lists (eg. LogicTriggers), causing major issues when a temporary (VOLATILE) trigger got sprung. This is resolved.
2020-06-21 14:51:56 -06:00
nev6502
2b0c6f4157
Further formatting and organization
2020-06-21 12:26:50 -06:00
nev6502
b554ba4448
Global header added
...
Several new utility functions
2020-06-21 05:32:19 -06:00
nev6502
1343dcd1d5
FINALLY finished all vanilla actions and all vanilla events. Every one has been tested along the way. Up next will be utilities as well as functionality to combine 2 triggers to allow for efficient multi triggers and ways to set various trigger options after creating.
2020-06-21 01:10:01 -06:00
nev6502
f1cb462b89
Heavy work done to scripting engine
2020-06-20 14:18:19 -06:00
nev6502
2d424cd427
- Added the ability to specify a cell or a rectangular area of cells for the various count functions
...
- First two MapScript event creation functions (which creates triggers and attaches callbacks to them)
- Changed back to master's gitingore files. (will use the excludes file instead for internal "ignoring" purposes from now on)
2020-06-17 19:35:11 -06:00
nev6502
9caebd5a17
First draft of Count functions for everything; units, buildings, aircraft, infantry and vessels. Allows specific types and players or generic "ALL" queries when -1 indexes are passed
...
Changed GiveCredits to be in line with these commands, and to also allow a player index of -1 to give credits to all players
2020-06-15 02:19:09 -06:00
nev6502
4a7a3df2cc
Added ability to attach Lua/MapScript callbacks to a trigger. Can be set to work with complex trigger actions.
...
Added scripts path to Lua so that Lua can find scripts within scripts/
2020-06-14 23:51:31 -06:00
nev6502
25f220ec74
First draft for completion of Lua implementation of all vanilla trigger actions
2020-06-13 19:15:38 -06:00
nev6502
a30d5e8243
Revert "First draft for completion of Lua implementation of all vanilla actions within Red Alert"
...
This reverts commit 8f5da5531e .
2020-06-13 19:05:13 -06:00
nev6502
8f5da5531e
First draft for completion of Lua implementation of all vanilla actions within Red Alert
2020-06-13 18:47:27 -06:00
nev6502
eb7ddd289c
Work done on the scripting engine
...
Probably going to need some discussion
2020-06-12 20:44:44 -06:00
Justin Marshall
ba0c51a7f2
Moved code into the code folder.
2020-06-12 08:15:26 -07:00