How to select and deselect a unit?

tetsu0sh0

  • Posts: 49
Hello Everyone!

I'm very new to stencyl, and an amateur coder at best (worked with BASIC and Valve's Hammer Editor)
And I would like to learn stencyl by creating a basic RPG.

Honestly, i have 3 goals for this project before i try something harder

1)Create a unit at a building location via HUD button
2)Have the ability to select (click on unit) or deselect unit (click anywhere BUT the unit)
3)Command a unit or group of units to walk to a location (No pathfinding yet)


So far i can make an individual actor move to a certain location. That was my step one.
I'm having trouble however with unit selection.

How would i go about selecting an individual actor to give a command to?

Thanks

« Last Edit: August 16, 2012, 09:14:31 am by tetsu0sh0 »