Changes between Version 26 and Version 27 of code/doc/Questsystem
- Timestamp:
- Sep 1, 2010, 11:54:24 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Questsystem
v26 v27 27 27 ==== LocalQuest ==== 28 28 A 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.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. So make your own choice. 30 30 31 31 Creating a LocalQuest in XML goes as follows: