-
Search a table and find the row/column of the searched variable?
by Hopscotch ·The left side attribute will hold the index of the row that the value was found in, 0 if no match was found. -
Search a table and find the row/column of the searched variable?
by Lovejoy ·You can place it in a display text if you just want to see in what row/col is at, or even a change attribute if you want to store the value somewhere. -
Search a table and find the row/column of the searched variable?
by Lovejoy ·So in my example, I'm searching a table "TB_codes" for a key number which i have tied to an attribute since its ever changing "game.lock code" i am searching for th -
Day and Night
by Armelline ·24 hour clock, so if that attribute returns 17 that means 5pm, if it returns 5 that means 5am. -
Change attribute x and y until both different from 0 not working
by Socks ·I'm also not sure what that means either, but as @tatiang say you cannot constrain an attribute to (-1;1). -
Change attribute x and y until both different from 0 not working
by stefdelec ·Every actor has an attribute which is saved in a table according to its position. -
Change attribute x and y until both different from 0 not working
by Socks ·Constrain means - on every draw cycle change this attribute to A. -
Day and Night
by Armelline ·There is a game attribute, game.Clock.Hour that lets you see what hour it is. This lets you decide if you want to use scenery x or scenery y. Attaches is a demo that shows a blue background between 6a -
Change attribute x and y until both different from 0 not working
by tatiang ·I don't know how you can constrain an attribute to one of two values. In fact, you can't. Constrain means "keep an attribute at a constant value." -
Change attribute x and y until both different from 0 not working
by stefdelec ·constrain attribute x to random(-1;1) -
Change attribute x and y until both different from 0 not working
by Socks ·[If X is equal to zero] and [Y is equal to zero] is equal to or larger than [constrain x ( random)] and [constrain x ( random)] -
Change attribute x and y until both different from 0 not working
by stefdelec ·If x= 0 and Y=0 => constrain x(random) and constrain y(random). Isn't the syntax right? -
Change attribute x and y until both different from 0 not working
by tatiang ·choose a random row using Change Attribute game.row to random(1,tableRowCount(tableName)) -
Change attribute x and y until both different from 0 not working
by stefdelec ·I am trying to get attribute x and y both different from 0, and certain value depending on their location. -
Scoring Board Problem
by Tachito_v ·(Quote) -
Scoring Board Problem
by Thunder_Child ·Sounds like a simple "game level Boolean" called something like "game over" should be used....when game over is false use your scoring attribute score +1 and do an -
How to trigger a rule only once?
by The_Gamesalad_Guru ·Here is how I would do it. Create a self attribute in the actor or actors call it lockout. -
How to trigger a rule only once?
by stefdelec ·Inside the rule, I said if parameter 1 =>assign a letter And change attribute boolean letter assigned/ -
How to trigger a rule only once?
by The_Gamesalad_Guru ·Yes just create a self attribute and use it as a lockout. -
How to trigger a rule only once?
by stefdelec ·If x= 0 => change attribute to true,