| 07-06-2003, 01:59 AM | #1 |
A) How do I make it so that if i hit an "Arrow Key" (I got that event, now all i need is the action), the unit will move a little left, right, up, down, or the angles? B)Is there a way to make it so a units buys an item named "Fire Wall" He will gain the her skill "Fire Wall", but the unit does not have the ability to normally choose it. Like Hero X has 10 Skill points, but no skills he can choose from and u aquire item "Fire Wall" he gets the skill. (note there will be 24 skills to choose from) Think I got it, But still could use conformation C) How do i make it so Unit X (Summoned) has a timer of 30.00 Seconds that doesnt say "Water Elemental"? *It says water elemantal (I want to change that) and how do I make it detect Levels (Lvl 1: 30 Seconds, Lvl 2: 40 Seconds* D) How do i make it add Multiple units to a unit group? Hero summons 2 Infernal Contraptions, and I want to add that to a unit group or a variable... I used "A unit is summoned, add summoned unit to Unit Group X, will that count for both or just one? E) Arg... this is easy but i cant get it. How do i say "Aquired item = X"? I need that as a condition Thx all |
| 07-06-2003, 03:43 AM | #2 |
I have the answer to question A. The following suggestion requires The Frozen Throne World Editor. Here is what you would do: Create four very small regions of equal size on the map (position does not matter). I'll refer to them as North, South, East, and West. Next, place the desired unit on the editor. I'll refer to the unit as Unit0001. Now, create 5 triggers: Trigger 1: Refresh Region Position Events: Conditions: Actions:    Region - Center North <gen> on ((Position of Footman 000<gen>) offset by (0.00, 125.00))    Region - Center South <gen> on ((Position of Footman 000<gen>) offset by (0.00, -125.00))    Region - Center West <gen> on ((Position of Footman 000<gen>) offset by (-125.00, 0.00))    Region - Center East <gen> on ((Position of Footman 000<gen>) offset by (125.00, 0.00)) Trigger 2: Up Button Pressed Events:    Player - Player x (Color) Presses the Up Arrow key. Conditions: Actions:    Order Unit0001 <gen> to Move to (Center of North <gen>)    Trigger - Run Refresh Region Position <gen> (ignoring conditions) Trigger 3-5: [any] Button Pressed Events:    Player - Player x (Color) Presses the [any] Arrow key. Conditions: Actions:    Order Unit0001 <gen> to Move to (Center of South, East or West <gen>)    Trigger - Run Refresh Region Position <gen> (ignoring conditions) Now in your Map Initialization trigger (create one if there isn't any), add the following line of code under the actions:    Trigger - Run Refresh Region Position <gen> (ignoring conditions) That should be it! If you have any questions about this, please reply. I have a map which actually performs what you wish. I can add it as an attatchment if you would like me to. |
| 07-06-2003, 03:49 AM | #3 |
Yes plz do, and thx this will help alot... mainly in gathering lots of information, but i will make a map that uses this. Thx and plz attach. |
| 07-06-2003, 04:05 AM | #4 |
Question B) In order to achive what you request, you must make use of the (Hero - Learn Skill) Action command line. For the sake of consistent refereces, I will call the item, Fire Wall and the spell [color=royal blue]Fire Wall[/color]. I will refer to the hero as Hero0001. A single trigger can do the trick. Trigger 1: Item to Spell Fire Wall Events:    Unit - Hero0001 <gen> Aquires an item. Conditions:    (Item-type of (Item being manipulated)) Equal to Fire Wall Actions:    Hero - Learn skill for (Triggering unit): Hero0001 - [color=royal blue]Fire Wall[/color]    Item - Remove (Item being manipulated) I suggest you also message the player who manupulates the item or perform a special effect on the hero. BTW: The attachment you requested for question A is present. |
| 07-06-2003, 04:25 AM | #5 |
Thx man. I was looking at the Learn Skill thing, but I couldnt find out how to do the item |
| 07-06-2003, 09:30 AM | #6 |
D) How do i make it add Multiple units to a unit group? Hero summons 2 Infernal Contraptions, and I want to add that to a unit group or a variable... I used "A unit is summoned, add summoned unit to Unit Group X, will that count for both or just one? Hmm... No, they are still reffered to as two seperate units. Plain and short. E) Arg... this is easy but i cant get it. How do i say "Aquired item = X"? I need that as a condition I am not sure, and as I do not have TFT yet I can't check either. But I think it's "Item-Type of (Item blah) = X" |
| 07-06-2003, 10:06 AM | #7 |
The term you're looking for is most likely Item Being Manipulated. |
| 07-06-2003, 04:08 PM | #8 |
Thx all for ur help |
| 07-06-2003, 04:39 PM | #9 |
while Hex's movement will work, it won't account for diagonals, nor will it account for consistant moving (holding down the button to keep going) -- (also u don't need premade regions really) i would suggest using booleans and points to determine where to move um, the easiest map i could find where i used this is my bomberman map, though it has a lot of extra things thrown in there (wiggle the keys to debuff urself, and running into objects), but the core of it is in there if you want to take a look |
| 07-06-2003, 04:49 PM | #10 |
Yo hex, can u plz make a map with the item thingy? I cant get it to work for the life of me, and i cant get it to have my custom abilites be chosen |
