ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
States (Sdk)
States // Sdklord fettNov 1, 2003, 5:30pm
Does anyone know what all the states are that can be detected by a bot or
that a bot can go into? And how are states handled....by a number value designated for each state? Any information that anyone has on this would be greatly appreciated. Thanks -Lord Fett starfleetNov 1, 2003, 6:00pm
Walking = 0
Running = 1 Flying = 2 Swimming = 3 Falling = 4 Jumping = 5 Warping = 6 joemanNov 1, 2003, 6:53pm
If you're also detecting the states of otheres:
typedef enum { AW_AVATAR_STATE_WALKING, AW_AVATAR_STATE_RUNNING, AW_AVATAR_STATE_FLYING, AW_AVATAR_STATE_SWIMMING, AW_AVATAR_STATE_FALLING, AW_AVATAR_STATE_JUMPING, AW_AVATAR_STATE_WARPING, AW_AVATAR_STATE_UNKOWN = 0xFF } AW_AVATAR_STATES; -Joe [View Quote] strike rapierNov 1, 2003, 9:15pm
r i c h a r dNov 2, 2003, 8:54am
A custom enumeration is basically the assignation of a numeral value to a
textual string. And are you kinda dumb thing im saying joeman doesn't know what they are of corse he does If you read I was refering to star fleet johnNov 2, 2003, 9:02am
strike rapierNov 2, 2003, 9:57am
Then.... you would know that the posts from both Starfleet and Joe were
correct and Starfleets were correct. A number value given by Starfleet is actually more towards what you asked for... Even if Joe's was the technically correct answer... - Mark R [View Quote] |