Question
#1

Hey there!

What do you recommend to loop through 250 * 6 array? (Sorry for my bad english, here is an example)

Код:
if( ... )
{
	for(new idx; idx < 250; idx++)
	{
	   	for(new slot; slot < 6; slot++)
		{
			if(Variable[idx][slot] == objectid)
			{
				<Move the object to a new pos>
			}
		}
	}
}
This callback also will called multiple times, becouse the player is interact with the object about random (1, 4) times so I'd like to run this on OnDynamicObjectMoved. Or should I re-move the object with a timer?
Or do you have any other advice?
Reply
#2

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)