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-31-2007, 10:26 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
ok, I found a better way.


looks messy, but works and should be more efficient than findnpc()

PHP Code:
putnpc2(player.x,player.y,"join(\"test_projectile2\"); this.value=" this.value ";"); 
edit: I didn't see Skyld's posts.
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #2  
Old 02-01-2007, 05:19 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
I've always done
PHP Code:
  temp.npc putnpc2(params[1],params[2],"join(\"blah!\");");
  
temp.npc.owner player.account;
  
temp.npc.attr[1] = params[3]; 
You could also save the id of temp.npc for later editing .
Reply With Quote
  #3  
Old 02-01-2007, 12:45 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
HTML Code:
with(putnpc2(this.x, this.y, "join object;"))
{
  this.curMode = "started...? lol";
}
Always, and forever.
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 01:40 AM.


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