rand=floor(random(3));
if(rand=0)
{
room_goto= dungeona
}
else if(rand=1)
{
room_goto= dungeonb
}
else if(rand=2)
{
room_goto= dungeonc
}
There is a probably a more efficent way but thats the best I can think of for now.
Not Telling
Freedomna hasn't added any friends yet.
28 October 2010 - 01:18 AM
rand=floor(random(3));
if(rand=0)
{
room_goto= dungeona
}
else if(rand=1)
{
room_goto= dungeonb
}
else if(rand=2)
{
room_goto= dungeonc
}
28 October 2010 - 01:04 AM
27 October 2010 - 10:42 PM
None of your requests are going to be fullfilled. This topic is from 2009
27 October 2010 - 09:32 PM
29 September 2010 - 12:10 AM
Okay, first the Bold doesn't work inside code.
Second, maybe it's because it SETS the gold to 4 and goes to room.... Check ur gold.
If it's not 4 then I'm wrong.
Community Forum Software by IP.Board
Licensed to: YoYo Games Ltd

Find content