Indeed it is.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Akril15 on Tue 02/04/2019 20:37:33I think just that, if you are accessing objects by an index you have to be sure that the index is valid. Your error suggests that you are trying to reference an object that doesn't exist, but using Room.ObjectCount should fix that.Quote from: Slasher on Sun 31/03/2019 07:57:26Could you please elaborate on this? If I'm missing something obvious, I apologize.
I assume you have checked all object ID's?
Quote from: Akril15 on Tue 02/04/2019 20:37:33You can do it with a while loop, you just have to manage the counter yourself.
Matti, I'm using AGS 3.3.3 -- I can't use "for" in that version.
int i = 0;
int max = Room.ObjectCount;
while(i < max)
{
if (day)
{
object[i].RemoveTint();
}
else
{
object[i].Tint(10, 10, 200, 70, 40);
}
i ++;
}
Quote from: KiraHaraReturns on Wed 13/02/2019 14:40:32I fixed it with SetViewPort depending on the character's X-positionWhere are you calling the code that does this?
Hotspot.GetAtScreenXY
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.235 seconds with 14 queries.