![]() ![]() The default options provide 4 CPs by default. It is important if you are going to add more CPs to your level, that you edit your script, and add your new CPs to the list. Just as it says in the actual script comment below (lua comments begin with -, two dashes) these next lines define the CPs that will be used for conquest. ScriptInit is setup, and making sure everything is loaded, and then ScriptPostLoad actually contains the in-game logic. ![]() ScriptPostLoad will contain all your game script, handling everything that actually happens once the level is loaded and play begins. ![]() The following line defines the function ScriptPostLoad, which is a function that is run after the game has finished running ScriptInit (more on that below). REP Attacking (attacker is always #1) REP = 1 CIS = 2 - These variables do not change ATT = REP DEF = CIS
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |