Thread: Rts??
View Single Post
Super Moderator
x2495iiii's Avatar
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 12-17-2008, 06:26 PM

Depends on what you're going for.

If you want something where you start off with some tanks and a building or two and slowly build that up into a military empire, you'd need a bunch of copies of each object, some "if object is within x meters of object" for your tanks, to determine their range of fire, some number variables for your health, points, and money, and probably you'd need to eperiment with the time functions that are under the functions tab when the world is selected. (i've never used them, so I'm not quite sure how they work, but it shouldn't be too hard to figure out.) You'd need to keep the copies of the objects' "isShowing" properties to false until they are built, and some if/else if statements to check if a tank is dead with the a hit they take, if you have enough money to build a new unit, etc.

If you're talking about only tactical, no building, then it would be the same, but you could skip the extra copies of the objects and the money variable.

Reply With Quote