seppie Posted August 12, 2011 Author Share Posted August 12, 2011 Hey. I'm still pretty new to EO, for those who've seen me around. :DAnyway… Is it possible to make an NPC give a player an item? I wanna make it so one NPC will give you (the player) a sword, and another will give you a shield, and so forth... If you're familiar with RPG Maker, it would be similar to an event.Thanks in advance! Link to comment Share on other sites More sharing options...
seppie Posted August 12, 2011 Author Share Posted August 12, 2011 Bump? I'd really like to know, if this is possible, how it can be done. Link to comment Share on other sites More sharing options...
SawQuart Posted August 12, 2011 Share Posted August 12, 2011 Yes, it is possible with VB6\. If you don't want to use VB6, you could set up a shop NPC that gives a person an item for a low cost, or for free. Link to comment Share on other sites More sharing options...
seppie Posted August 13, 2011 Author Share Posted August 13, 2011 I'd like the NPC to give them the item only once. Is there a specific code for this or would I have to learn programming and do it myself? Link to comment Share on other sites More sharing options...
Likestodraw Posted August 13, 2011 Share Posted August 13, 2011 I've been wondering about this as well. Link to comment Share on other sites More sharing options...
Catapult Posted August 13, 2011 Share Posted August 13, 2011 Do you mean when somebody register in your game, they will automatically receive an item?Play around with server/data/classes.ini .You will see something like> StartItemCount=> StartItem1=1> StartValue1=1> StartItem2=2> StartValue2=1 Link to comment Share on other sites More sharing options...
quintensky Posted August 13, 2011 Share Posted August 13, 2011 i think he means like (example) you enter a town, and there is a duneon… but you need a key to key in.you talk to one of the guys in town and he gives it to you, download VB6 and look at the scripting tutorials and search. Link to comment Share on other sites More sharing options...
seppie Posted August 13, 2011 Author Share Posted August 13, 2011 I think this…```StartItemCount=StartItem1=1StartValue1=1StartItem2=2StartValue2=1```Is what I'm looking for.Also, I'd like to know what quintensky said too. For example, there is a locked door. You need to find the owner of the house and get the key from him.Just an example. Link to comment Share on other sites More sharing options...
quintensky Posted August 14, 2011 Share Posted August 14, 2011 @seppie:> I think this…> ```> StartItemCount=> StartItem1=1> StartValue1=1> StartItem2=2> StartValue2=1> ```Is what I'm looking for.that just give the player those items on first login, a NPC doesn't give them you the player :( Link to comment Share on other sites More sharing options...
seppie Posted August 14, 2011 Author Share Posted August 14, 2011 Would it be possible to use Alatar's Quest System in such a way? Link to comment Share on other sites More sharing options...
MeteorRain Posted August 14, 2011 Share Posted August 14, 2011 [http://www.touchofdeathforums.com/smf/index.php/topic,61017.msg643612.html#msg643612](http://www.touchofdeathforums.com/smf/index.php/topic,61017.msg643612.html#msg643612)Try using that. It's a tutorial for scripted NPC's in EO. It's what I always use. But it can slow your game down a little bit.If you're using scripted NPC's the code will have to be something like this if I'm correct:```Call PlayerMsg(attacker, Take this item:", White)GiveInvItem(attacker, itemid, itemamount)``` Link to comment Share on other sites More sharing options...
seppie Posted August 15, 2011 Author Share Posted August 15, 2011 (Probably heard this before) but I'm not very good at programming. I honestly haven't done a single shred. Is there a tutorial or a guide that will teach me how to program while giving me some things to program in? Link to comment Share on other sites More sharing options...
MeteorRain Posted August 15, 2011 Share Posted August 15, 2011 Look up VB6 Tutorials? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now