View Single Post
Old 14-04-12, 09:14   #3989
klona
Golden
 
klona's Avatar
 
Joined: Oct 2009
Posts: 11,535
Default

Quote:
Originally Posted by Titak View Post
I don't think this is solved in TRNG. Or can be solved for that matter, as far as I know anyway.

Hmmm... something with the condition that Lara is underwater AND the objects that should have the sound is activated, then play sound?
Hmmm... that could very well result in hearing the sound all over the level when both conditions are met, instead of hearing it only near the object.

Hmmm... perhaps variables can help, but nothing comes to mind right now.
I'm still not very familiar with the variables.



It would help if you would also post which triggers you have exported.
Those numbers don't mean much and it would take us some time to find the triggers they belong to.

Btw, as for triggering something when an enemie or more enemies are dead, Paolone included this in his TRC objects tutorial where he activates something when two hydra's are killed.
Have you checked that tutorial project?
The Export Triggers:
Hydras:
Quote:
; Exporting: CONDITION(14:62) for OBJECT(230)
; <#> : HYDRA ID 230 in sector (9,7) of Room13
; <&> : Creature. <#>Creature is currently (E)
; (E) : Enemy is dead
; Values to add in script command: $9000, 230, $E
Quote:
; Exporting: CONDITION(14:62) for OBJECT(210)
; <#> : HYDRA ID 210 in sector (9,6) of Room13
; <&> : Creature. <#>Creature is currently (E)
; (E) : Enemy is dead
; Values to add in script command: $9000, 210, $E
Quote:
; Exporting: CONDITION(14:62) for OBJECT(215)
; <#> : HYDRA ID 215 in sector (9,4) of Room13
; <&> : Creature. <#>Creature is currently (E)
; (E) : Enemy is dead
; Values to add in script command: $9000, 215, $E
Quote:
; Exporting: CONDITION(14:62) for OBJECT(212)
; <#> : HYDRA ID 212 in sector (9,5) of Room13
; <&> : Creature. <#>Creature is currently (E)
; (E) : Enemy is dead
; Values to add in script command: $9000, 212, $E
Audio:
Quote:
; Exporting: TRIGGER(101:0) for FLIPEFFECT(193)
; <#> : Sound. (CD) Play <&>CD Track on (E)channel with final restore of old track
; <&> : AUDIO\101
; (E) : Channel 1 (Background track)
; Values to add in script command: $2000, 193, $65

Last edited by klona; 14-04-12 at 09:15.
klona is online now   Reply With Quote