Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 12-22-2013, 04:09 PM
JohnnyChimpo JohnnyChimpo is offline
Registered User
JohnnyChimpo's Avatar
Join Date: Jun 2004
Posts: 105
JohnnyChimpo is on a distinguished road
Quote:
Originally Posted by Stefan View Post
It could be possible to just add a normal shop npc and when you click/grab it then it's opening a GUI. You would just need normal triggerclient() for that.
Right because you'd be using the onActionRightClick/onPlayerTouchsme, which focuses that player allowing you to reference that player specifically. But how about a shop NPC ( level NPC, connected to a class), wants to lay items out in the level (putnpc2). If you want to show everyone thats easy, you just leave it at that. However if you want to drop items, individually for each player, so say, there is a set w,x,y,z of items. Player 1 walks in and the only items on the table he/she will see, is w,x. However in that same moment, player 2 walks in but player 2 will see y,z. And NOT w,x. OR more strictly they will see exactly what they should and nothing that they shouldnt. Is this possible?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.