Started by Rymdpotatis, August 06, 2008, 03:21:36 pm
QuoteIf you're making a forest that randomizes and you have a tree character sprite, you're set.Requires2 maps. (One for the entry to the forest and the other for the forest.)Number of trees you want in your forest times 2 = the variables you need. (In other words, 2n.)Let's start off very simple...three trees.Make 6 variables.Tree 1xTree 1yTree 2xTree 2yTree 3xTree 3yDon't do anything to those variables and I mean anything!Next, make some sort of an entry to the forest.When the player is about to teleport to the forest, do this.Go to each variable and make it randomize by the numbers you want.Next, go to the forest map.Make an event.Make the event a tree charset.Make the event parallel processThen next, find the command called change event location, click it.Then make the event teleport through variablesMake Tree 1x, the X and tree 1y, the Y.Make another event, do the same thingTree 2x, the X, Tree 2y, the Y.Make another, same process, different variables.