Ir para conteúdo

Gustavo urbenw

Membro
  • Registro em

  • Última visita

Tudo que Gustavo urbenw postou

  1. Alguem sabe solucionar? Lua Script Error: [GlobalEvent Interface] data/globalevents/scripts/quests/demon oak/voices.lua:onThink attempt to index a nil value stack traceback: [C]: at 0x7ff62a3afb40 [C]: in function 'getSpectators' data/globalevents/scripts/quests/demon oak/voices.lua:17: in function <data/globalevents/scripts/quests/demon oak/voices.lua:16> [Error - GlobalEvents::think] Failed to execute event: DemonOakVoices Script: local demonOak_pos = {x = 32716, y = 32352, z = 7} local questAreaPosition = { {x = 32706, y = 32345, z = 7, stackpos = 255}, {x = 32725, y = 32357, z = 7, stackpos = 255} } local voices = { 'Release me and you will be rewarded greatefully!', 'What is this? Demon Legs lying here? Someone might have lost them!', 'I\'m trapped, come here and free me fast!!', 'I can bring your beloved back from the dead, just release me!', 'What a nice shiny golden armor. Come to me and you can have it!', 'Find a way in here and release me! Pleeeease hurry!', 'You can have my demon set, if you help me get out of here!' } function onThink(interval, lastExecution) local specs = Game.getSpectators(demonOak_pos, false, true, 0, 15, 0, 15) for i = 1, specs do if isInRange(specs:getPosition(), questAreaPosition[1], questAreaPosition[2]) then return true end specs:say(sounds[math.random(#voices)], TALKTYPE_MONSTER_YELL, false, 0, demonOak_pos) end return true end

Informação Importante

Confirmação de Termo