tokenat() returns a string. You need to convert it to an int:
int(tokenat(...))
Impossible to say from a screen shot. Can you isolate the code and post a CAPX?
C2 uses 'loopindex' for the For loops. Change to For "" from 0 to 7
-> Set value at (loopindex,0) to ...
replacing your 'i' with 'loopindex.
You don't need the Add 1 to i.
https://www.scirra.com/manual/124/system-conditions
You don't actually say what your problem is. However, event 10 sets text Ammo to 'Money', it should be 'ammo'.
Looks like you are mixing C and JavaScript. 'function' is not a valid keyword, and I don't think setTimeout() is a valid call.
Develop games in your browser. Powerful, performant & highly capable.
Make sure all layers but the bottom one have "Transparent" set to yes in the Layer properties.
Pathfinding breaks the layout into a grid. Outside of the layout is out of range, otherwise there'd need to be an infinite grid, which would be unmanageable. I wrote a plugin extension to deal with the case where you want to allow a range beyond the "normal" layout bounds.
http://www.blackhornettechnologies.com/ ... oPLUS.aspx
Variable1 = left(Variable1, len(Variable1)-1)
On the image at the bottom there is some small text. One is "Mark forums read".
Pathfinding can take more than a tick, so you can not use 'Every tick'. Use a longer time interval.
You can't set the UID. Just add your own instance variable and assign a number/text. Then you can pick by that number/text.
Just use the 'ctr' value you already have. 'On start of layout', create your car and set the frame=ctr.
(Your Waits are doing absolutely nothing here).
Member since 28 May, 2012