I'm making a script, checking if the player is armed. This is the code sample I'm having trouble with:
rifles = primaryWeapon player
bazookas = secondaryWeapon player
? player hasWeapon rifles or player hasweapon bazookas: goto "playerIsArmed"
goto: "playerIsNotArmed"
This allows me to check if the player is carrying any weapon in the first two slots. But I cannot check if the tricky bastard has hidden a handgun somewhere. Any suggestions?
EDIT: syntax above from memory, not the actual script code. It works in the script.