Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: RetroGamer on June 22, 2016, 05:37:25 AM
-
Hi all I'm trying to get to grips with playmaker, unity and C#. I'm experimenting trying to recreate for loops within playmaker.
I'm trying to get playmaker to do the following;
public int width = 100;
public int height = 100;
for (int x = 0; x < width; x++)
{
for (int x = 0; x < height; x++)
{
{
}
And i have this in playmaker;
(https://photos-4.dropbox.com/t/2/AACutrQSjx4lZRFwq3Wvuop-s2PhfISRv6VLaksqYT8Vdw/12/272980186/png/32x32/1/_/1/2/example.png/EIWin4MCGHYgAigC/Whlw1Y3HPQR3Of-wZRGIFIraBDrRZ4j-5_kF5q0uaEM?size_mode=5)
https://www.dropbox.com/s/9108wwfiq4x4e7y/example.png?dl=0 (https://www.dropbox.com/s/9108wwfiq4x4e7y/example.png?dl=0)
Thing is I was expecting the loopindex to be 10k and not 100, example: 100*100. What am I doing wrong here?
Thanks in advance
-
And i have this in playmaker;
(https://photos-4.dropbox.com/t/2/AACutrQSjx4lZRFwq3Wvuop-s2PhfISRv6VLaksqYT8Vdw/12/272980186/png/32x32/1/_/1/2/example.png/EIWin4MCGHYgAigC/Whlw1Y3HPQR3Of-wZRGIFIraBDrRZ4j-5_kF5q0uaEM?size_mode=5)
Thanks in advance
Not sure if its just me but i don't see the playmaker image?
-
sorry about that, I have added a direct link in my post