Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-25-2006, 05:20 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Reading from the gani's viewer?

By default, a gani script shown by a player will access that player's attributes.
Is there a way to make it access the attributes of the person who's VIEWING the gani?
Reply With Quote
  #2  
Old 02-09-2006, 06:31 AM
lordspawn lordspawn is offline
Registered User
Join Date: Aug 2004
Posts: 24
lordspawn is on a distinguished road
Couldn't you write a script so that player1 does something such as touch player2 and it will set player2's gani to the one desired?
Reply With Quote
  #3  
Old 02-09-2006, 01:30 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by lordspawn
Couldn't you write a script so that player1 does something such as touch player2 and it will set player2's gani to the one desired?
Huh?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #4  
Old 02-11-2006, 08:40 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Yen
By default, a gani script shown by a player will access that player's attributes.
Is there a way to make it access the attributes of the person who's VIEWING the gani?
you can't do it within the gani, you'd have to access the attributes by triggering the server, and then finding the player that's viewing. Two possible ways: detecting the viewing player, and then having the owner of the gani trigger serverside OR the viewing player detecting seeing the gani and then set their own attributes. The latter would be better because it can all be done clientside or serverside; more flexible.

Also, Yen, come back to Classic , where I have the lonely job of being the only active scripter.
Reply With Quote
  #5  
Old 02-12-2006, 08:30 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Quote:
Originally Posted by jake13jake
Also, Yen, come back to Classic , where I have the lonely job of being the only active scripter.

o-o Holy crap
I forgot I worked there
Reply With Quote
Reply


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 07:47 AM.


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