About: How to Add Objectives   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

There is a 4 byte objective bitflag that is a global variable used by objectives. It is default 00000000, and it can be set and unset by the action blocks. Then, the objectives menu tries to match those bitflags. Objectives are added in the Edit Setup -> Edit Objectives. Add an objective, then add 1A Conditional True. Conditional True means it matches. The example below means the objective will be complete, if the global variable matches 10000000.

AttributesValues
rdfs:label
  • How to Add Objectives
rdfs:comment
  • There is a 4 byte objective bitflag that is a global variable used by objectives. It is default 00000000, and it can be set and unset by the action blocks. Then, the objectives menu tries to match those bitflags. Objectives are added in the Edit Setup -> Edit Objectives. Add an objective, then add 1A Conditional True. Conditional True means it matches. The example below means the objective will be complete, if the global variable matches 10000000.
dcterms:subject
abstract
  • There is a 4 byte objective bitflag that is a global variable used by objectives. It is default 00000000, and it can be set and unset by the action blocks. Then, the objectives menu tries to match those bitflags. Objectives are added in the Edit Setup -> Edit Objectives. Add an objective, then add 1A Conditional True. Conditional True means it matches. The example below means the objective will be complete, if the global variable matches 10000000. There is also conditional false, which means if it is unmatched, it is complete, so in the below example, if 10000000 is met, then the objective is failed, if not, then complete. There can be a bunch of parts to an objective, so you can check if certain bitflags true, if certain false, if a 16 object is destroyed, etc. These are all used in objectives. Note they are common to all action blocks, so 1000 and 1001 both read and write to the same spot. In the simple example below, 9A sets the bitflags, and 9C checks them. The example just will play a sound since the objective is met.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software