I am having trouble with my flight code. When I use fly ingame, my character state changed, but the hair does not, and I have the states correctly matched. Please Help.
obj
flight
verb
Fly()
set name = "Fly"
set category = "Fighting"
if(usr.spar == 1)
usr << "Not while in combat."
if(usr.spar == 0)
if(usr.flight == 1)
usr << "You land on the ground!"
usr.density = 1
usr.flight = 0
usr.meditate = 0
usr.icon_state = ""
else
usr << "You rise into the air!"
usr.density = 0
usr.flight = 1
usr.meditate = 0
usr.icon_state = "buku"
ID:146854
Jan 7 2005, 11:09 am
|
|
In this code... did you include the part of the hair icon with the flight..?