Staredit Network

Staredit Network -> UMS Assistance -> Attack?
Report, edit, etc...Posted by Fadetoblack on 2006-02-19 at 21:04:55
How would I get enemies to randomly move around and ATTACK the enemies? Would i use junk yard movement?
Report, edit, etc...Posted by PCFredZ on 2006-02-19 at 21:32:48
Yes, you can think of junkyard as a patrol script.
Report, edit, etc...Posted by Urmom(U) on 2006-02-19 at 21:38:11
But do units attack if you junkyard them?
Report, edit, etc...Posted by Fadetoblack on 2006-02-19 at 22:21:26
thats what i wanna know
Report, edit, etc...Posted by nimadude on 2006-02-19 at 23:38:54
try setting junkyard command. Also have a fairly large location on the comps main unit. When enemies bring units to that large loc, attack all enemies in location. Kill score = at least 1, set to 0 and set junk yard script.

If you want to do for multiple units that belong to the comp... You can setup a random and dynamic movement system that would detect when allies need help etc.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-20 at 04:05:07
I could make you a dynamic system if i had more details and specifications about what it would be used for.
Report, edit, etc...Posted by PCFredZ on 2006-02-20 at 08:49:02
In an old version of Dodge the Rapist there was a bug that did not make P4 invincible, and consequently he was chased. Fortunately, he never died himself and thus made a good decoy, because all the ranged enemies started attacking when they got in range and did not "touch" him, and that he had very high health.

(FYI: Dodge the Rapist uses the Junkyard Dog script)
Report, edit, etc...Posted by AgenT_Nick on 2006-02-20 at 09:08:12
RunaiScript: strategic suicide mission.
a certain amount of units will go attack you.
or you could custom ai with patrol and switches.
Report, edit, etc...Posted by M_s4 on 2006-02-20 at 10:46:02
Random Suicide Mission + Junkyard Dog. I think if you alternate between the two you'll get that effect, then again, I could be wrong.
Report, edit, etc...Posted by A_of_s_t on 2006-02-20 at 16:29:09
What about this.
Trigger
Description:
Comp #1
Players:
¤ Player Comp
Conditions:
¤ Always
Actions:
¤ Set AI script Junk Yard Dog at anywhere.
¤ Preserve Trigger

Trigger
Description:
Center Veiw
Players:
¤ Player Human
Conditions:
¤ Always
Actions:
¤ Center Veiw Location 'Location #1' on 'Unit' for 'Player Human'
¤ Preserve Trigger

Trigger
Description:
Attack script
Players:
¤ Player Comp
Conditions:
¤ 'Player Human' brings 'at least 1' to 'location #1'
Actions:
¤ Order 'all units' at 'location #1' to 'location #1'


I may have left out a few words. sorry. tongue.gif
Report, edit, etc...Posted by nimadude on 2006-02-20 at 19:46:11
QUOTE(A_of_s_t @ Feb 20 2006, 01:29 PM)
What about this.



Trigger
Description:
Comp #1
Players:
¤ Player Comp
Conditions:
¤ Always
Actions:
¤ Set AI script Junk Yard Dog at anywhere.
¤ Preserve Trigger




Trigger
Description:
Center Veiw
Players:
¤ Player Human
Conditions:
¤ Always
Actions:
¤ Center Veiw Location 'Location #1' on 'Unit' for 'Player Human'
¤ Preserve Trigger




Trigger
Description:
Attack script
Players:
¤ Player Comp
Conditions:
¤ 'Player Human' brings 'at least 1' to 'location #1'
Actions:
¤ Order 'all units' at 'location #1' to 'location #1'


I may have left out a few words. sorry. tongue.gif
[right][snapback]431471[/snapback][/right]


Exactly what I said smile.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-20 at 23:49:07
But you didnt say it like that.
Report, edit, etc...Posted by nimadude on 2006-02-21 at 00:45:26
QUOTE(Kept_Wheat @ Feb 20 2006, 08:49 PM)
But you didnt say it like that.
[right][snapback]431820[/snapback][/right]


The purpose of the text was the same.
Next Page (1)