+ggggeo2 Posted January 25, 2012 Share Posted January 25, 2012 I am using Earwigo and can't figure out if there is a way to set an expression where a player has a certain item. I know I can set a Flag variable to true or false depending on whether they have it or not, but is there a way to quickly say Player has ItemX == True ? I have searched the message boards but not turned anything up yet. Thanks, George Quote Link to comment
+charlenni Posted January 25, 2012 Share Posted January 25, 2012 In Earwigo you could create the following expression Contains Player: contains Item Shovel That's what you need. Quote Link to comment
+andouille Posted March 14, 2012 Share Posted March 14, 2012 (edited) In Earwigo you could create the following expression Contains Player: contains Item Shovel That's what you need. What would be the urwigo version? I tried doing a compare between the playeritems and the specific items, but it did not work, I guess it might be because there is other items on the player items list. What would be the best way to do it? (For now I made my way around it by completing a task when the item is moved to the player and then check that the task is complete). Andouille Edited March 14, 2012 by andouille Quote Link to comment
+charlenni Posted March 14, 2012 Share Posted March 14, 2012 Sorry, I didn't use Urwigo, but try this: Use a if/then and put it in your function. Than pull a "Contains" on it. After that, pull a "Player" on the left side, the item on the right side of the box. Set the result to "true". Quote Link to comment
+jonny65 Posted March 14, 2012 Share Posted March 14, 2012 What would be the urwigo version? I tried doing a compare between the playeritems and the specific items, but it did not work, I guess it might be because there is other items on the player items list. What would be the best way to do it? (For now I made my way around it by completing a task when the item is moved to the player and then check that the task is complete). Andouille Do you mean something like that ? Quote Link to comment
+andouille Posted March 18, 2012 Share Posted March 18, 2012 What would be the urwigo version? I tried doing a compare between the playeritems and the specific items, but it did not work, I guess it might be because there is other items on the player items list. What would be the best way to do it? (For now I made my way around it by completing a task when the item is moved to the player and then check that the task is complete). Andouille Do you mean something like that ? YES! Thank you very much! I will correct my work around this issue and put it just like that! It will not make a huge difference for the user, but I like better coding! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.