Staredit Network

Staredit Network -> UMS Assistance -> Problem involving AI script
Report, edit, etc...Posted by Centreri on 2005-06-18 at 20:50:36
I'm making a Dragons Tale rpg, and what i need is to make zerglings run around in one area. I'm using X-tra Editor v2.6 (special mode). I used the AI Script Junkyard Dog, and to keep the zerglings from running away i used Order, Move to the location where lings are. The problem is that when the lings reach the location where they have to go back, they go to the center of the run around wildly location and stay there, they dont run around wildly anymore. I used always for ai script condition and when ling comes to location and always for the turn back location. Please help, and yes it applies to correct players. sad.gif
Report, edit, etc...Posted by LethaL on 2005-06-18 at 21:08:20
Add the 'Preserve Trigger' Action to both triggers.
Report, edit, etc...Posted by Centreri on 2005-06-19 at 10:44:35
sad.gif how could i have gotten that wrong sad.gif
Thank you. One more thing. Is it possibly to make triggers like 'create unit' affect player 12? like give player 12 units to another player? or do i have to make it an allied player 8?
Report, edit, etc...Posted by Snipe on 2005-06-19 at 10:48:24
lol yea when i read that i noticed it right away.. Always preserve when it is somthing you want to repeat. Also good luck with your Rpg.
Report, edit, etc...Posted by DaarkDoom on 2005-06-19 at 11:20:12
QUOTE(Silver-Dragon @ Jun 19 2005, 08:44 AM)
sad.gif how could i have gotten that wrong sad.gif 
Thank you. One more thing. Is it possibly to make triggers like 'create unit' affect player 12? like give player 12 units to another player? or do i have to make it an allied player 8?
[right][snapback]238534[/snapback][/right]


You can use Starforge, or use Give units to current player owned by any player at location 1 action,if there are just player 12 units at that location...
Report, edit, etc...Posted by Snipe on 2005-06-19 at 11:26:39
lol.... or he could have just preserved trigger... lol. there is no need to get complicated tongue.gif.
Report, edit, etc...Posted by in_a_biskit on 2005-06-20 at 03:42:05
Clarifying what DaarkDoom said:
    - you can't make triggers for player 12.
    - you can't use the action "create units" to place player 12 units.
    - you can create a unit for a player 1-8 and give it to player 12, but the unit will keep both its colour and alliance statuses.
    - you can give units to and from player 12 to players 1-8.
    - it is possible to set a player 1-8 to "neutral" in 'player settings'.
Report, edit, etc...Posted by B4L-69 on 2005-06-22 at 16:29:59
WHY DONT YOU JUST MAKE A OUTING AROUND THE UNITS SO THEY DONT RUN OUT
Next Page (1)