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

How to set paperdoll though source?


Domino_
 Share

Recommended Posts

Hey I need a small help xD
this is paperdoll check code
```
Call BltPaperdoll(x, Y, Item(GetPlayerEquipment(Index, PaperdollOrder(i))).Paperdoll, Anim, spritetop)
```
How to make a specific paperdoll though source to player?
I tryed smtn like this
```
Call BltPaperdoll(x, Y, Item(Helmet(Index, PaperdollOrder(2))).Paperdoll, Anim, spritetop)
and
Call BltPaperdoll(x, Y, Item(GetPlayerEquipment(Index, PaperdollOrder(2))).Helmet, Anim, spritetop)

```
For now I have this
```
Call SetPlayerEquipment(Index, 2, helmet)
```But I better need paperdoll not equiped item.

…help?
Link to comment
Share on other sites

Hmm…you don't need the 'and' inbetween the Call BltPaperdoll lines so just try this:

```
Call BltPaperdoll(x, Y, Item(Helmet(Index, PaperdollOrder(2))).Paperdoll, Anim, spritetop)
Call BltPaperdoll(x, Y, Item(GetPlayerEquipment(Index, PaperdollOrder(2))).Helmet, Anim, spritetop)

```
Link to comment
Share on other sites

No no no I was lazy to make two sources xD
I'v tryed
Call BltPaperdoll(x, Y, Item(Helmet(Index, PaperdollOrder(2))).Paperdoll, Anim, spritetop) <- Code nr.1.
and
Call BltPaperdoll(x, Y, Item(GetPlayerEquipment(Index, PaperdollOrder(2))).Helmet, Anim, spritetop) <- Code nr.2\. both dont work.

I need that player without any equiped item have a paperdoll on.
I know how to only add equiped item not paperdoll. For now..
Link to comment
Share on other sites

I really need help, I cant understand how to set a specific paperdoll to a sprite or class in game I only know how to add that you have equiped item its this: " Call SetPlayerEquipment(Index, 2, helmet) " But how to set it as paperdoll not equiped item?
Link to comment
Share on other sites

Woah! Big thanks!
I really looked in blting not only tried edit
"Call BltPaperdoll(x, Y, Item(GetPlayerEquipment(Index, PaperdollOrder(i))).Paperdoll, Anim, spritetop) "
And now works I hope. Cookie for you ;)
p.s. I was trying to get in paperdoll nummber and equipment solt in
"Call BltPaperdoll(x, Y, Item(GetPlayerEquipment(Index, PaperdollOrder(i))).Paperdoll, Anim, spritetop) "
But I simply writed it and works! Now OtherWorld project can go on. :))
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...