kn4tseb 
Master
 
Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0
![]()
|
RE: NPCRrestock doesnt fire
okey... im able to override values from buying items but i cant make the fallowing work... the idea is to change de value of all stockable pets from an animaltrainer... if i use a npc trigger that fires as i know they do, the values are successfully overriden but when restocked they return to their "default" value...
whats wrong with this little code?
Code:
ON=@NPCRestock
IF <NPC> == brain_animal_trainer
IF <FINDLAYER.26>
REF1 = <FINDLAYER.26.UID>
FORCONT <REF1>
IF <TYPE> == T_FIGURINE
REF2 = <UID>
REF2.TAG.OVERRIDE.VALUE = <SERV.ITEMDEF.<REF2.BASEID>.VALUE>*8
ENDIF
ENDFOR
ENDIF
ENDIF
Values arent changed when restocking :/
Thanks ^^
(This post was last modified: 09-01-2014 01:20 PM by kn4tseb.)
|
|
09-01-2014 01:05 PM |
|
|