Install Steam						
					
				
				
									login
											 | 
						language
						
																																					简体中文 (Simplified Chinese)
																													繁體中文 (Traditional Chinese)
																													日本語 (Japanese)
																													한국어 (Korean)
																													ไทย (Thai)
																													Български (Bulgarian)
																													Čeština (Czech)
																													Dansk (Danish)
																													Deutsch (German)
																																							Español - España (Spanish - Spain)
																													Español - Latinoamérica (Spanish - Latin America)
																													Ελληνικά (Greek)
																													Français (French)
																													Italiano (Italian)
																													Bahasa Indonesia (Indonesian)
																													Magyar (Hungarian)
																													Nederlands (Dutch)
																													Norsk (Norwegian)
																													Polski (Polish)
																													Português (Portuguese - Portugal)
																													Português - Brasil (Portuguese - Brazil)
																													Română (Romanian)
																													Русский (Russian)
																													Suomi (Finnish)
																													Svenska (Swedish)
																													Türkçe (Turkish)
																													Tiếng Việt (Vietnamese)
																													Українська (Ukrainian)
																									Report a translation problem
							
						
 
											 
													

 0
 0								 This topic has been locked
 This topic has been locked	 
					 
													




 Report this post
 Report this post


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,