multiple actions for one actor in sequence

hey gang....
how would i differentiate between the 1st, second, third etc click on a actor? for example i have a "sword" actor that is in the scene...the first time i click on it, it goes into my inventory area. the second time i click on it, it becomes active. then if i click on something else it de activates...the problem i have is each time i click on it, all the rules for each action are activated....

is it just a matter of setting up a bunch of game attributes that register what "stage" the sword is in and using those to control the rule logic?

thanks
Dan

Best Answer

Answers

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Yes.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • ingenious.applicationsingenious.applications Member Posts: 102
    edited March 2013
    tatiang may know much better than myself, but I would guess that another work-around could be that you could create two different rules within the actor. Each rule's conditions will include the actor's current position (and "if pressed..."), so as to determine what actions you would like to have happen (assuming the inventory location is different than the other location it would appear in.
Sign In or Register to comment.