Thread

States (Sdk)

States // Sdk

1  |  

lord fett

Nov 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

starfleet

Nov 1, 2003, 6:00pm
Walking = 0
Running = 1
Flying = 2
Swimming = 3
Falling = 4
Jumping = 5
Warping = 6

joeman

Nov 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]

r i c h a r d

Nov 1, 2003, 7:53pm
Obvesouly starfleet has never met enum's

strike rapier

Nov 1, 2003, 9:15pm
erm... what the hell do you think an enum is...?

- Mark

[View Quote]

r i c h a r d

Nov 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

john

Nov 2, 2003, 9:02am
An Enum is a piece of cheese.... or was that An Edam? lol

:-p

~John

[View Quote]

strike rapier

Nov 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]

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