Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #27  
Old 03-02-2009, 07:06 AM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
Quote:
Originally Posted by Rufus View Post
Yeah, a regular Weapon NPC should do, unless you want to include it into a "System" NPC so you don't have tons of NPCs for different things. It all depends on how the script is in NPC-Control, but you can probably something like "Emoticons","Tiles" so you don't have to keep reusing the same script.
So right now, my sys NPC looks like this...

PHP Code:
function onActionPlayerOnline() {
  
player.addWeapon("-System/Emotions"); 
I assume this will work?

PHP Code:
function onActionPlayerOnline() {
  
player.addWeapon("-System/Emotions","-System/Tiles"); 
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 09:24 AM.


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