View Single Post
  #6  
Old 08-21-2013, 02:58 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by JohnnyChimpo View Post
Okay thank you so much, so this is one of the cases where you wouldn't use this.name for the name of the NPC in triggerclient.
triggerClient works on weapons, not NPCs. You don't use this.name because you're not triggering the player object (which is what this is). Instead you want to trigger a weapon, so you just specify that weapon's name. If you do use triggerClient in a weapon, then it's perfectly valid to use this.name.
__________________
Reply With Quote