Valon328 Posted August 14, 2009 Author Share Posted August 14, 2009 > Case 1> > If CanTake(Index, 1, 0) And CanTake(Index, 2, 0) Then> Call TakeItem(Index, 1, 0)> Call TakeItem(Index, 2, 0)> Call GiveItem(Index, 3, 0)> Else> Call PlayerMsg(Index, "I can make you an item if you give me the supplies", BRIGHTRED)> End IfThis is Godlord's script basically but I wanna ask that if I put this in a scripted tile and I had these items and when I step on the tile the tile takes the supplies and gives me the item? Link to comment Share on other sites More sharing options...
Patrick Posted August 14, 2009 Share Posted August 14, 2009 Have you tried it yet? Link to comment Share on other sites More sharing options...
Valon328 Posted August 14, 2009 Author Share Posted August 14, 2009 no not really lolz XD Link to comment Share on other sites More sharing options...
Patrick Posted August 14, 2009 Share Posted August 14, 2009 Then what are you waiting for. If there's a problem then say so but it looks clean. Link to comment Share on other sites More sharing options...
Valon328 Posted August 14, 2009 Author Share Posted August 14, 2009 ok! thanks I'm going to try it X3TRIED IT:Yes! It worked!! HOOORRAAAHH!!!Two people to thank: Mcnugget and Godlord! :3 Link to comment Share on other sites More sharing options...
Patrick Posted August 14, 2009 Share Posted August 14, 2009 I didn't do much. Only to force you to use it. 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