Advertiser Content

Scripting Question Rival phone contact

Started by stubbyfinger September 6th, 2019 3:08 PM
  • 1660 views
  • 5 replies
Male
Canada
Seen 6 Days Ago
Posted 6 Days Ago
22 posts
3.7 Years
So I want to be able to make the rival a contact in the phone app, but there’s a problem. I followed the wiki’s instructions for defining a special contact (like professor Oak) but in the contact list it just displays the rival’s name as \v[28] instead of their actual in game-name. I guess that the \v[] thing only applies to the message box? Do any of you guys have an idea on how to make the rival’s name display in the contact list? I can’t call the rival just fine and do what I want with that, it just doesnt display their name in the contact list, or in the message that says “you registered \v[28] in the pokegear”. Thanks in advance for your help :)

Vendily

Female
Seen 3 Hours Ago
Posted 4 Days Ago
971 posts
4.3 Years
Instead of "\v[28]", use pbGet(28). \v only works if it can get preprocesed, which it doesn't in a regular string. pbGet however returns the value of the contents of the variable, so it'll show up perfectly. I tested it!

Diverscope

Pardon me

Male
Germany
Seen 1 Hour Ago
Posted September 29th, 2019
146 posts
6.6 Years
Try it without the quotation marks.

pbPhoneRegisterNPC(3,pbGet(28),4)
Advertiser Content