Hey all,
So I'm using Yanfly's Limited Use Skills plugin to simulate the ammo function of my guns. I'm working on a common event that will allow players to reload (add limited use charges) in the field on a button press. Making the button use the actual skill seemed to be a dead end, so I've been trying to fake it.
So far, all the "if" statements work in making the event work like the skill. And the "change gold" also works in taking the correct amount of ammo.
The problem is that script call. As you can see, I'm just randomly guessing. I've tried a few things, but it's not worth mentioning because I'm pretty sure I'm just flubbing some obvious way to do this and I don't know the correct syntax. I always have such a hard time with changing a value when it's an object I'm unfamiliar with. Which is funny to me because I got the "if" statement above it to work.
What am I missing here?
PS: here's the full if statement:
$gameActors.actor(1).skillLimitedUseCurrent(18) < $gameActors.actor(1).skillLimitedUseMax(18)
So I'm using Yanfly's Limited Use Skills plugin to simulate the ammo function of my guns. I'm working on a common event that will allow players to reload (add limited use charges) in the field on a button press. Making the button use the actual skill seemed to be a dead end, so I've been trying to fake it.
So far, all the "if" statements work in making the event work like the skill. And the "change gold" also works in taking the correct amount of ammo.
The problem is that script call. As you can see, I'm just randomly guessing. I've tried a few things, but it's not worth mentioning because I'm pretty sure I'm just flubbing some obvious way to do this and I don't know the correct syntax. I always have such a hard time with changing a value when it's an object I'm unfamiliar with. Which is funny to me because I got the "if" statement above it to work.
What am I missing here?
PS: here's the full if statement:
$gameActors.actor(1).skillLimitedUseCurrent(18) < $gameActors.actor(1).skillLimitedUseMax(18)