User Tools

Site Tools


hpl3:game:eventdb

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl3:game:eventdb [2012/08/24 08:19]
thomas [Standard Triggers]
hpl3:game:eventdb [2015/09/17 10:19] (current)
ian.thomas [Event Database]
Line 1: Line 1:
 ====== Event Database ====== ====== Event Database ======
  
 +(This is not used in SOMA.)
 ====== Overview ====== ====== Overview ======
  
Line 109: Line 110:
 Standard trigger types that can be checked for in any map. Below the name are the facts that are related to the triggers. Note that these must be enabled (in Player or any other module that triggers them for them to happpen). Standard trigger types that can be checked for in any map. Below the name are the facts that are related to the triggers. Note that these must be enabled (in Player or any other module that triggers them for them to happpen).
  
-**PlayerCollide**\\+**PlayerCollide** ​''​(NOTE:​ Currently not in use!)''​\\
 //​CollideEntity://​ Entity that is collided with.\\ //​CollideEntity://​ Entity that is collided with.\\
 If the player collides with an entity. Note that this one is not checked every update and might miss very brief collisions. Mostly useful to check if player is in an area. If the player collides with an entity. Note that this one is not checked every update and might miss very brief collisions. Mostly useful to check if player is in an area.
  
-**PlayerLeaveCollide**\\+**PlayerLeaveCollide**''​(NOTE:​ Currently not in use!)''​\\
 //​CollideEntity://​ Entity that player has collided with.\\ //​CollideEntity://​ Entity that player has collided with.\\
 Triggered when player stops colliding with an entity. Mostly useful to check if player leaves an area. Triggered when player stops colliding with an entity. Mostly useful to check if player leaves an area.
Line 121: Line 122:
 If the player interacts with an entity. Note that this is triggered through the basic script. If the player interacts with an entity. Note that this is triggered through the basic script.
  
-**PlayerLookAt** ​//NOTE: Currently not in use!//\\+**PlayerLookAt** ​''​(NOTE: Currently not in use!)''​\\
 //​LookAtEntity://​ Entity that is look upon.\\ //​LookAtEntity://​ Entity that is look upon.\\
 //​LookAtDistance://​ The distance to the entity that is looked upon.\\ //​LookAtDistance://​ The distance to the entity that is looked upon.\\
Line 128: Line 129:
 Note that if you want to do this check on an area, make sure it has BlocksLineOfSight set to true! Note that if you want to do this check on an area, make sure it has BlocksLineOfSight set to true!
  
-**VoiceLineOver**\\+**VoiceLineOver**''​(NOTE:​ Currently not in use!)''​\\
 //​VoiceSubject://​ The name of the subject, syntax = [Character]_[Scene]_[Subject],​ eg "​Simon_00_01_Apartment_Greeting"​.\\ //​VoiceSubject://​ The name of the subject, syntax = [Character]_[Scene]_[Subject],​ eg "​Simon_00_01_Apartment_Greeting"​.\\
-//VoiceLine:// The name of the line, note that if line name is "",​ then this will be the index, eg "​0",​ "​1",​ etc.\\+//VoiceLineIndex:// The index of the line.\\
 When a voice line is over. When a voice line is over.
  
-**VoiceSoundOver**\\+**VoiceSoundOver**''​(NOTE:​ Currently not in use!)''​\\
 //​VoiceSubject://​ The name of the subject, syntax = [Character]_[Scene]_[Subject],​ eg "​Simon_00_01_Apartment_Greeting"​.\\ //​VoiceSubject://​ The name of the subject, syntax = [Character]_[Scene]_[Subject],​ eg "​Simon_00_01_Apartment_Greeting"​.\\
-//VoiceLine:// The name of the line, note that if line name is "",​ then this will be the index, eg "​0",​ "​1",​ etc.\\+//VoiceLineIndex:// The name of the line, note that if line name is "",​ then this will be the index, eg "​0",​ "​1",​ etc.\\
 //​VoiceSoundIndex://​ The index of the sound that was just completed.\\ //​VoiceSoundIndex://​ The index of the sound that was just completed.\\
 When a voice sound file is over. When a voice sound file is over.
Line 162: Line 163:
 The last sound line that was over. Used by //​VoiceLineOver//​ and //​VoiceSoundOver//​ triggers. syntax = [Character]_[Scene]_[Subject],​ eg "​Simon_00_01_Apartment_Greeting"​. The last sound line that was over. Used by //​VoiceLineOver//​ and //​VoiceSoundOver//​ triggers. syntax = [Character]_[Scene]_[Subject],​ eg "​Simon_00_01_Apartment_Greeting"​.
  
-**VoiceLine**\\ +**VoiceLineIndex**\\ 
-The last sound line that was over. Used by //​VoiceLineOver//​ and //​VoiceSoundOver//​ triggers.+The index of the last sound line that was over. Used by //​VoiceLineOver//​ and //​VoiceSoundOver//​ triggers.
  
 **VoiceSoundIndex**\\ **VoiceSoundIndex**\\
hpl3/game/eventdb.1345796356.txt.gz · Last modified: 2012/08/24 08:19 by thomas