Although I am not well-versed in scripting, I can read and understand the basics, even though I usually don't know the proper way to write them out. The Script Call List on this forum is down, and I can't look at it right now. I'm utilizing ChatGPT for help, but I know it's only somewhat reliable.
I'm checking which type of weapon (NOT the weapon ID itself, but the TYPE of weapon) an actor is using. I'm using the following script:
As far as I understand it, this should return a number ID for the weapon type of Actor #2, and place that integer in the variable "CHECKWeaponType"
Then, I use another condition to check if "CHECKWeaponType" is #19 (which is the weapon ID I'm checking for in my game right now) to have some other things happen if that is true, however, nothing seems to happen. Could anyone tell me if my script is wrong?
I'm checking which type of weapon (NOT the weapon ID itself, but the TYPE of weapon) an actor is using. I'm using the following script:
Code:
var CHECKWeaponType = $gameActors.actor(2).weaponId()
As far as I understand it, this should return a number ID for the weapon type of Actor #2, and place that integer in the variable "CHECKWeaponType"
Then, I use another condition to check if "CHECKWeaponType" is #19 (which is the weapon ID I'm checking for in my game right now) to have some other things happen if that is true, however, nothing seems to happen. Could anyone tell me if my script is wrong?