Hello everybody,
I want to check an actors parameter in a Conditional Branch and used a Script Call to check this. But it doesn't seem to work for me. I'm not the best in eventing, specially with Skript Calls, so it would be cool, if someone could take a look.
I also tried Variations with <=, >=, <, > and so on. So I think, that I messed up with the Script Call :/
The idea behind this: I want to create pickpockets, which steal some money, if your luck or agility parameter is too low. On the otherside I'm thinking about about a character who can steal too. On this try I went with AGI and my character has currently 29. But when I start the event above, nothing happens :/
Thanks a lot for your help 🙂
I want to check an actors parameter in a Conditional Branch and used a Script Call to check this. But it doesn't seem to work for me. I'm not the best in eventing, specially with Skript Calls, so it would be cool, if someone could take a look.
I also tried Variations with <=, >=, <, > and so on. So I think, that I messed up with the Script Call :/
Code:
◆If:Skript:$gameActors.actor(1).param[6]=<100
◆Text:000 Bettlermädchen 02(2), Fenster, Unten
: :Ups, sorry. Meine Schuld.
◆Gold ändern:- 20
◆Text:Keine, Durchsichtig, Mitte
: :Du hast plötzlich weniger Gold in der Tasche.
◆
:Beenden
◆If:Skript:$gameActors.actor(1).param[6]=>100
◆Text:000 Bettlermädchen 02(2), Fenster, Unten
: :Ups, sorry. Meine Schuld.
◆
:Beenden
The idea behind this: I want to create pickpockets, which steal some money, if your luck or agility parameter is too low. On the otherside I'm thinking about about a character who can steal too. On this try I went with AGI and my character has currently 29. But when I start the event above, nothing happens :/
Thanks a lot for your help 🙂