After loading the game at the first(second and so on), it actually does not cause any problem. But, when I save the game(by Game:SaveGame node) and execute "loadLastSave" string in pure game mode,
Audio Trigger Spots just don't play. What the console says about that is(I logged the Audio Trigger Name at the first line):
Code: Select all
<09:13:31> <Lua> Play_bucket_sound_01
<09:13:31> [Warning] [Lua Error] scripts/entities/sound/audiotriggerspot.lua:71: attempt to perform arithmetic on field 'x' (a nil value)
<09:13:31> > _GenerateOffset, (scripts/entities/sound/audiotriggerspot.lua: 71)
<09:13:31> > Play, (scripts/entities/sound/audiotriggerspot.lua: 309)
<09:13:31> > (null) (scripts/entities/sound/audiotriggerspot.lua: 358)
<09:13:31> > (null) ([C]: -1)
<09:13:31> > _GenerateOffset, (scripts/entities/sound/audiotriggerspot.lua: 71)
<09:13:31> > Play, (scripts/entities/sound/audiotriggerspot.lua: 309)
<09:13:31> > (null) (scripts/entities/sound/audiotriggerspot.lua: 358)
Any help would be appreciated!
Thanks!