Aller au contenu

Photo

Get Object By name


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Kingdom_Of_Hearts

Kingdom_Of_Hearts
  • Members
  • 72 messages
 Hey there. Developing a script to ban players. I wanted to set a campaign string of their cd key without having to target.. To do this I wanted to call GetPCPublicCDKey, get that, and add it to a campaign string to check if their banned. However, I need to identify the PC by this, but there's no GetObjectByName function! 

EDIT: Figured a way around it.

Modifié par Kingdom_Of_Hearts, 14 janvier 2014 - 10:58 .


#2
ffbj

ffbj
  • Members
  • 593 messages
GetName
Could be used as in GetName(oPC) when oPC is defined in client onenter, or get entering object in some predefined start area.