Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 26 and Version 27 of code/doc/Questsystem


Ignore:
Timestamp:
Sep 1, 2010, 11:54:24 AM (14 years ago)
Author:
dafrick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/Questsystem

    v26 v27  
    2727==== LocalQuest ====
    2828A LocalQuest is a Quest which has different states for each player, that means each LocalQuest can be obtained and completed (or failed) by each player in parallel.
    29 A questId is some string that uniquely identifies the quest, this can either be a name or to ensure uniqueness you can use a GUID generator ([http://www.google.com/search?q=guid+generator google] or you can use this [http://www.famkruithof.net/uuid/uuidgen generator]. The advantage of GUID is, that you can be quite sure that your id is unique, the drawback is, that it provides less overview can can be quite confusing when looking at the level file.
     29A questId is some string that uniquely identifies the quest, this can either be a name or to ensure uniqueness you can use a GUID generator ([http://www.google.com/search?q=guid+generator google] or you can use this [http://www.famkruithof.net/uuid/uuidgen generator]). The advantage of GUID is, that you can be quite sure that your id is unique, the drawback is, that it provides less overview can can be quite confusing when looking at the level file. So make your own choice.
    3030
    3131Creating a LocalQuest in XML goes as follows: