ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
terrain help (Sdk)
terrain help // SdksilencedJun 1, 2002, 9:51pm
Me again :). I cannot make sense on how to edit terrain in the SDK. What I
basically need is and example on how to edit the entire world with a single height. Thanks in advance. --Bowen-- Have $3... want a website? http://www.smartpenguin.com/affiliate.php?id=12 silencedJun 2, 2002, 2:04am
For all those that care.. this should help you out.. and it answers my
question. short data[70][70]; for (int i = 0; i < 70; i++) for (int j = 0; j < 70; j++) data[i][j] = -10; for(int z=0;z<70;z++) { if(rc = aw_terrain_set(-100,z-100,70,0,data[z])) { aw_string_set(AW_CONSOLE_MESSAGE,"Error!"); aw_console_message(0); break; } } -- Have $3... want a website? http://www.smartpenguin.com/affiliate.php?id=12 [View Quote] |