ID:266742
Jun 9 2002, 10:48 am
|
|
I would like to know how to do animations in a game. For instance, how would i show a character zapping a wand, and then have a red beam com out of the wand until it hits something. Is there a way to do this?
|
In response to FireEmblem
|
|
Make the animation of the guy moving the wand and right click and hit edit_state,, then type in wand and then ok, and add this code
mob/verb/Fire_Red_Beamie_thingie() usr.icon_state = "wand" sleep(20) missle(obj/redbeam,usr,loc) usr.icon_state = "" view(10) <<"[usr] castes a red beamie thing!" obj/redbeam Enter() //damage code here |
(I am in a helping mood tonight)