#6
10th Jun 2019 at 12:21 AM
Last edited by Velcósitro : 10th Jun 2019 at
12:51 AM.
I did it! I took a look at the original TEST bhav for the sea chantey, and after so many tries I found my way out to use it correctly:
[prim 0x0033] Manage Inventory (Find Token Of GUID,
token: GUID 0x130D8CA1,
Category: 0x00 - any,
Inventory (counted): Neighbor: Local 0x0002,
index: Local 0x0000)
That's what
SimPE shows for the Find Token of GUID option, but there is something more to that, since it's counted you can get the count value. I used a Local 0x0001 to save it, in the original bhav it was set to 0, but I'm using 0 as the index. The operands for that are:
0B 19 02 00 06 A1 8C 0D
13 00 19 00 00 19 01 00
The last 3 operands are used to get the count, Local (19) 0x0001 (01 00). A sim with 6 or more of this token (GUID 130D8CA1) knows the sea chantey. I hope this helps someone that needs it in the future for this kind of tokens.