Advertiser Content

Scripting Question Rival phone contact

Started by stubbyfinger September 6th, 2019 3:08 PM
  • 1374 views
  • 5 replies
Male
Canada
Seen 1 Week Ago
Posted 3 Weeks Ago
17 posts
3.6 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 49 Minutes Ago
Posted 2 Hours Ago
954 posts
4.2 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 5 Hours Ago
Posted 2 Weeks Ago
146 posts
6.5 Years
Try it without the quotation marks.

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