Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Two questions


Domino_
 Share

Recommended Posts

Is paperdoll may be animated the same as items?
Normal:
[] [] []
[] [] []
[] [] []
Animated
[] [] [] [] [] []
[] [] [] [] [] []
[] [] [] [] [] []

And how to code paperdolled hair without equiped item like in paperdoll source
```
if no equiped helm then if get sprite 1 then paperdoll 1(hair)  end if end if
```If equip smtn than hair goes away and only appears helm…
Please give some tips. :D
Link to comment
Share on other sites

1\. No. One of the consequences of having multiple item frames is that the size must be static. If you made paperdoll static, characters would have to be static as well.

2.
```
If GetPlayerEquipment(index, Equipment.Helmet) = 0 Then
    If GetPlayerSprite(index) = 1 Then
          ' (code for drawing paperdoll hair here)
    End If
End If

```
Edit: used GetPlayerEquipment. My other code would have worked, but semantics and all that.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...