![]() |
X=? y=? in dungeongen
Just wondering...
Is there any way to use a random number in the x= and y= for placement of npcs and images ontop of the massive areas with the dungeon generator? Im guessing / hoping that there is. |
in a gmap, serverside X+Y is relative to the gmap, not the levels. im pretty sure.
|
Quote:
*edit* x has to be >=0 and <= 8 in gen and y > =0 and <= 11 and i want a random number between those how would that be defined in the dugeongenoptions I think that better explains my question :) |
I dont think a random number can be generated by the dungeongen.
|
You can add several lines with small chance and different x and y to get the same effect, although a random() function would be good for that yes
|
Quote:
x=4 and y=0 x=0 and y=4 I guess thats what i'll have to do lolz thanks :) |
Quote:
"( rand() % max) + min" - but I'm sure it's different. |
Quote:
|
No one asked yet that's why we haven't added more stuff yet :)
|
Quote:
http://forums.graal2001.com/forums/s...threadid=50815 Thanks :D |
All times are GMT +2. The time now is 03:30 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.