Thread

aw_terrain_set (Sdk)

aw_terrain_set // Sdk

1  |  

grimble

Jun 4, 2002, 4:37pm
A few people seem to have successfully implemented terrain functions in
bots, so I have a feeling I'm missing something, BUT ...

Does anyone find that the first aw_terrain_set call after an
aw_terrain_delete_all doesn't work?

Grims

grimble

Jun 4, 2002, 5:35pm
Geesh! This is getting to me now!

aw_data can return a maximum of 255 bytes of data according to the help
files (which must be true as the length value is only 1 byte). Yet aw_data
is used to retrieve 128 shorts for a line of page terrain heights (256
bytes) ... has anyone tried this or is my brain just mush from trying to get
my head around this?


[View Quote]

andras

Jun 4, 2002, 5:48pm
I was pushing it's limit and provided 500 elevation points in one call - still works (tho I use the aw_terrain_set() command)

Andras

[View Quote]

grimble

Jun 4, 2002, 6:17pm
Sorry, my mistake. I should have put this as a separate thread. This is on
aw_terrain_query in the AW_EVENT_TERRAIN_DATA event handler. Thanks for the
pointer on the first part though.

Grims

[View Quote]

grimble

Jun 6, 2002, 10:32am
For info, this was just an issue with the world server version.

Grims

[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn