Drag and Drop something to a grid...
charliehgreen
ArizonaMember Posts: 233
I was wondering if someone could help me with something please?
Ok how can I create a system where I could Drag and Drop something but only to certain places on the map.
Example: Drag and drop an object to the map but if I'm holding the object over the let's say ummmm the sky, it won't drop.
Ok how can I create a system where I could Drag and Drop something but only to certain places on the map.
Example: Drag and drop an object to the map but if I'm holding the object over the let's say ummmm the sky, it won't drop.
Comments
So a Mouse Up Trigger actor that gets spawned when the mouse is up. And the area where a drop is allowed, if it collides with Mouse Up Trigger actor, it responds by spawning an AllowDropTrigger actor, which destroys itself after a short period.
http://forums.gamesalad.com/discussion/56974/free-snap-to-grid-tutorialtemplate-some-community-love