-
Notifications
You must be signed in to change notification settings - Fork 0
Progression Tracker
Ciarán Malone edited this page Apr 3, 2022
·
11 revisions
Tracks Events during the game with
- Event Name: custom name of the progress event.
- timestamp: When the event occurred
- location: (optional) vector3 position of where the event took place.
- value (optional) custom value for the event.
{
"_id": "61f95c42d59d1495dec7af3f",
"SceneName": "SampleScene 1",
"UniqueID": "61f95c42d59d1495dec7af3f",
"objectName": "progressionData",
"sessionName": "588d41cd-62c7-4944-8e43-1e9944bcc9ff",
"trackedProgressions": [
{
"timeStamp": 1.958998680114746,
"eventName": "Started",
"value": "1"
},
{
"timeStamp": 14.343352317810059,
"eventName": "Player Died",
"value": ""
"trackedPosition": {
"x": 11.926076889038086,
"y": 1.4799998998641968,
"z": 0.20867344737052918
}
}
],
}as all games are different
Example Script
I WILL PUT AN EXAMPLE SCRIPT HEREProgression Event
example:
ProgressionEvent.ProgressionTrigger("PlayerReachedBox", 12);params:
- EventName: custom name of the progress event.
- value: (optional) value corresponding to the progression event
example:
ProgressionEvent.ProgressionTriggerWithPosition("PlayerReachedBox", transform.position, 2);params:
- EventName: custom name of the progress event.
- position: vector3 position of where the event took place.
- value: (optional) value corresponding to the progression event