Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción
function ISTimedActionQueue:addToQueue (action)
--[[
if isKeyDown(Keyboard.KEY_ESCAPE) then
self:clearQueue()
end
--]]
local count = #self.queue;
table.insert(self.queue, action );
--self.queue[ISTimedActionQueue.IDMax] = {id = ISTimedActionQueue.IDMax, character = character, action = action};
--print("action inserted. found "..count.." items on queue.");
-- none in queue, so go!
if count == 0 then
self.current = action;
action:begin();
--print("action started.");
-- ISTimedActionQueue.IDMax = ISTimedActionQueue.IDMax + 1;
end
end
I also tried to make it work seamlessly with this function.
I’ll admit I don’t know much about the game’s code yet, which is why my implementation isn’t very polished. That’s why I appreciate your suggestions—they’re definitely helpful.
The reason I didn’t mention you is simply because I didn’t use your code.
Cheers,