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
  #1  
Old 02-13-2009, 06:59 PM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Names in an array

Okay I haven't scripted much in GS2, infact the majority of the scripting I've done on Graal has been before the NPC Server so I am rusty (actually I think the last time I actually scripted I was using QBasic so rusty is an understatement).

Now that my situation has been explained, I'll ask my question; I'm doing my best to script a quest (rather simplistic one) that requires a player to do the work. At this point I want to store a list of titles, first names, and last names which will get randomly paired together the first time you talk to a certain NPC so a player can't just PM an FAQ to get this name for the second part of the quest. I'm really only looking for help on how to store a list of names, in QBasic you could easily store your names in an array and used a loop function to recall them. I'm wondering if there is a similar way in GS2?
__________________
Save Classic!
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 02:38 AM.


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