Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-27-2006, 10:58 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Loakey_P2P View Post
im having problems with the format of a string . its for an inventory to break them down into different sections . i already have the buttons and all that done but the part to only show npcs starting with a certain name .

if (player.weapons[ i].name.starts("Q/"SPC thiso.selec SPC"/"))

this.selec is the varable that cointains the middle part of the npc name . which would be either Item , Spell , Prize or Weapon . but it wont show those npcs , ive tracked it down to this . any idea's ?
SPC = space, so its searching for a weapon naped "Q/ whatever /", use @ instead.
__________________
Follow my work on social media post-Graal:Updated august 2025.
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 03:46 AM.


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