Can any 1 help me on how to achive This effect.
1) A spell or skill is the the statpanel.
2) U drag the skill or spell unto the screen/Hud
2) depending on where the skill was placed that is the # (assuming the hud has boxes with #'s) it is put in that is the key stroke to activate it.
iam not quite sure hot to do the dragin form the statpanel to hud part.
You help Would be very appreciated. Thanks in advance.
-Ginny(Genjura)
ID:166110
![]() Sep 23 2006, 1:08 pm
|
|
![]() Sep 23 2006, 11:45 pm
|
|
http://developer.byond.com/hub/Crispy/HeadsUp
|
I don't believe HeadsUp is what he's looking for.
Genjura, look up the MouseDrop proc in the reference. You'll need to create an obj to represent your spell or skill, display than obj in the statpanel, and define MouseDrop() on it. In MouseDrop(), you should then check to see if the player has dropped the spell/skill obj on top of one of your number objs. |
I think its something like this your looking for
http://madpeter.files.deltaanime.net/ objs%20heads%20up_src.zip basicly this just uses items but it could be changed for skills there are 4 slots [1] [2] [3] [4] <_< you drag 1 of the items from the stat panel onto 1 of the boxs and blamo it appers just under the box you can press F1 - F4 to use the item or click on it from the display. to remove the item from the hud you can drag it back onto the any statpanel and it will remove its self from the display. #notes: #this is still in beta and theres prob some bugs left in it I did not find! |