Drag and Drop spawning...
TouchTiltGames
Member Posts: 1,162
I've got a little thing I'm experimenting with - A container that spawns an actor when you click down on the container, only I want the actor it spawns to drop/release on the mouse up and not spawn another actor instantly on the mouse - I want to have to click the container again to retrieve another actor...probably seems simple to the more advanced guys here! lol.
So it's basically drag and drop a spawned actor from a container, one at a time
I'm close..I have an actor spawned on the mouse down but cant figure out how to release it on the mouse up...If I have the actor spawn on the mouse up the actor will stick to the cursor and then drop on the mouse down but then it spawns another actor on the cursor. (pulls hair)
So it's basically drag and drop a spawned actor from a container, one at a time
I'm close..I have an actor spawned on the mouse down but cant figure out how to release it on the mouse up...If I have the actor spawn on the mouse up the actor will stick to the cursor and then drop on the mouse down but then it spawns another actor on the cursor. (pulls hair)
Comments
I'm having a b**** of a time trying to get another actor to jump in Tshirtbooth's drag and drop tutorial when the mouse is clicked on the "Actor 1" container. I can get it to jump once, but that's it! Anyone know how to do this? Something is cancelling it out...
In addition to his tutorial I have a game.triggerjump Attribute on the jumping actor and on the Actor 1 button.