Jump to content
  • 0

How to show this Image in game


grobyczen

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  04/07/13
  • Last Seen:  

Hello, I'm working on a custom Slot Machine minigame tha looks like this.

 

I've already created the .spr and act files, and as you can see it's based on the slot machine that shows up when you use a pet catching item.  

 

The problem is, I don't know how to make it show in game. I've created a NPC that does all the code to calculate if you win or not, but I haven´t been able to find a script command to call the sprite animation.

 

Is there a script command to call the animation? Or do I need to make a source modification? How does it work with the pet catching system?

 

If someone would help me with this, I would be very thankful.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

Is that Cutin function?

 

And this script got some of example for cutin.

Edited by uDe
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  04/07/13
  • Last Seen:  

Thanks uDe, the link you provided is useful. However I want to use the .spr file directly, and not every .bmp file individually.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

There's no command to make a SPR appear; not sure if the client would even support this, but you'd have to look further.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  04/07/13
  • Last Seen:  

Thanks for the information Euphy.

 

For now, I think I will use the cutin commmand :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...