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.
Question
grobyczen
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.