Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Item that changes actors class?

so i wanted an item that could change whatever actor equiped it into a different class, so i set up a simple common event that said: if actor 1 equiped weapon: X, then change actor 1's class to: class X.
it didnt work. i tried it with trigger: "none" AND "parallel process," neither worked.

can someone help me set this up or show me how? thanks :]
 
You have to set up the common event to "Parallel Processing", and then turn on the Conditions switch. Look to the right of the "Trigger", there you can assign a switch that must be turned on for the common event to work.
 
Actually, you don't need to do that. Just turn on the switch at the start of the game or whenever you receive the equipment. It will always run, but won't change the actor's class until the item is equipped because of the Conditional Branch.
 
ok, i feel like such an idiot, i think ive tried what youve said and it hasnt worked, and for some reason, when i keep turning my control switches on, my game freezes... any way you could set up these events and take screen shots of them for me?
 
edit: got it. i set up a conditional branch in an event that said if i had the weapon to turn my switch on. thank you regi so much, second time youve saved my ass.

*sigh* still not working.
heres what i have:
http://img.photobucket.com/albums/v463/lordnick5000/two2.png[/img]


http://img.photobucket.com/albums/v463/lordnick5000/one1.png[/img]
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top