"have item" with permanent items?
Posted: Thu Oct 08, 2020 12:57 pm
I am a bit confused.
To check if the player has a permanent custom book in his inventory, I want to use the following:
It is a custom book made permanent in another (previous) quest. I.e. the player got it as reward in quest 1 and now, in quest 2, I want to check if he has it in his inventory.
I have used this kind of code a lot already with non-permanent quest items (those with green background). But this time it does not work. The "HasPressPass" will never switch to true, even if I add the book in question in the console with "addbook 1025470710"
The book exists and works, the ID is correct of course (tested it), but it simply seems not to be recognized.
Can only non-permanent quest items (or items created by the current quest) be used with "have"?
To check if the player has a permanent custom book in his inventory, I want to use the following:
Code: Select all
Item _PressPass_ book key 1025470710
have _PressPass_ set _HasPressPass_
_HasPressPass_ task:
_victoryR_ task:
when _HasPressPass_
say 1031
I have used this kind of code a lot already with non-permanent quest items (those with green background). But this time it does not work. The "HasPressPass" will never switch to true, even if I add the book in question in the console with "addbook 1025470710"
The book exists and works, the ID is correct of course (tested it), but it simply seems not to be recognized.
Can only non-permanent quest items (or items created by the current quest) be used with "have"?