Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-07-2003, 02:15 AM
Luigi1 Luigi1 is offline
The OtherOther Shaded Leg
Join Date: Jul 2003
Location: In front of a monitor
Posts: 333
Luigi1 is on a distinguished road
Triggeraction from serverside to clientside?

Note: I mean in a local DB NPC, not a weapon.

I want to do something like this: (Well, what I need this for isn't for this script, but still... this is an example of the scenario)

NPC Code:
if (created || playerenters) {
setshape 1,32,32;
setstring this.test,hahaha.;
triggeraction x+.5,y+.5,test,#v(id),#s(this.test);
}

//#CLIENTSIDE
if (created) {
setshape2 2,2,{22,22,
22,22};
}

if (actiontest) {
if (strtofloat(#p(0)) == id) // So that it is received only by this NPC.
message received - #p(1);
}



... But that doesn't seem to work.

Is there a way to make this work? I can't use save[#0-299], because I believe you can only transfer variables with those, unless I'm mistaken.
__________________
Quote:
Originally Posted by mystic2k
that post did really makes me think how much braincells you have.
*waits for nifty Graal admin person to tell me what happened to vip.graal.net*
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 03:06 PM.


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