Diskmaster Posted July 7, 2009 Author Share Posted July 7, 2009 Is it possible to make a sub that checks for more than one item EX: If CanTake(Index, 1)=TrueThen that again? what is the command, if any to check for two items?Also, how do you make a type of scripted Item EX: a scripted armor or weapon?does any 1 have anything for me? Link to comment Share on other sites More sharing options...
emblem Posted July 7, 2009 Share Posted July 7, 2009 If CanTake(Index, 1) = True And CanTake(Index, 2) = True ThenEnd If Link to comment Share on other sites More sharing options...
Diskmaster Posted July 7, 2009 Author Share Posted July 7, 2009 Thx! Any answers to the first 1? Link to comment Share on other sites More sharing options...
Bobosk Posted July 7, 2009 Share Posted July 7, 2009 you can't equip scripted items, that would require a source edit, i believe someone made a edit that allowed one to run scripts when an item was equipped.. i think it was ballie.. but you'd have to ask him for it(or search the appropriate forum). Though i don't think he'd release it.. Link to comment Share on other sites More sharing options...
emblem Posted July 7, 2009 Share Posted July 7, 2009 I thought it was already in the source for it to do that in 2.8? Link to comment Share on other sites More sharing options...
Diskmaster Posted July 7, 2009 Author Share Posted July 7, 2009 How about an item that, if u have it in your inventory, it will cause something to happen differently when u attack? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 7, 2009 Share Posted July 7, 2009 Just throw it in OnAttack, and have it check to see if that item is in your weapon slot, or whatever slot it is. Link to comment Share on other sites More sharing options...
Diskmaster Posted July 7, 2009 Author Share Posted July 7, 2009 Oh, thats simple, that is all I wanted. It is a quest reward, when u weild it and attack sumthing, there is an animation on the monster like fire (I also wanted to make the sword fire but whatever, it still would look cool) Link to comment Share on other sites More sharing options...
emblem Posted July 7, 2009 Share Posted July 7, 2009 Epic flaming sowrd of doom1!!12one!Yeah, it's possible using OnAttack/SpellAnim Link to comment Share on other sites More sharing options...
Diskmaster Posted July 8, 2009 Author Share Posted July 8, 2009 Oh, and instead of starting a new topic… does any 1 here know the give exp command (another quest thing, I want exp rewards, not just gold and items) Link to comment Share on other sites More sharing options...
emblem Posted July 8, 2009 Share Posted July 8, 2009 Call SetPlayerExp(Index, GetPlayerExp(Index) + 50) Link to comment Share on other sites More sharing options...
Diskmaster Posted July 8, 2009 Author Share Posted July 8, 2009 Thx for all the help (yes! now my quests won't suck or be pointless) 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