Hey, Jv_map: I followed the tut. on creating your own AI, and it works great!! Now I Just need to figure out how to make them say stuff. I also was thinking-would it be possible to add SH AI to AA maps??
Also: Is there a way to make a friendly AI run to a certain pathnode, once a trigger is set off??
Bots!!!
Moderator: Moderators
You can't add SH AI to AA, as MoHRad crashes with SH. To make AI run to a certain pathnode, try this:
your trigger, with setthread "AI"
your script:
AI: //this will be called out when triggered
$ainame runto $pathname
If all fails, try:
$ainame thread global/runto.scr::pathname
haven't tried that, but give it a go. Thought I saw this in some script though.
your trigger, with setthread "AI"
your script:
AI: //this will be called out when triggered
$ainame runto $pathname
If all fails, try:
$ainame thread global/runto.scr::pathname
haven't tried that, but give it a go. Thought I saw this in some script though.
Live to map, not map to live.
-mohaa_rox, .map
moderator
-mohaa_rox, .map
moderator
-
Innkeeper
- Colonel
- Posts: 475
- Joined: Mon Nov 25, 2002 10:13 pm
- Location: NC, USA (about 7.5 klicks from the capital dome)
- Contact:
I must be one of the lucky ones. Spearhead does not crash mohradiant for me and I can add anything from Spearhead including AI. 
Innkeeper - moderator
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
Both will work (and do the samemohaa_rox wrote:You can't add SH AI to AA, as MoHRad crashes with SH. To make AI run to a certain pathnode, try this:
your trigger, with setthread "AI"
your script:
AI: //this will be called out when triggered
$ainame runto $pathname
If all fails, try:
$ainame thread global/runto.scr::pathname
haven't tried that, but give it a go. Thought I saw this in some script though.
An easier way is to use AIs with their types set to 'runner'. If you also add key 'waittrigger' value 1, they will wait for a trigger event. You can just target your trigger to the AI.
Well, I tried this:
I set up a trigger_multiple with
setthread runto_elevator
and the thread says
runto_elevator:
level.friendly1 runto elevator_node.
The only problem is, that when I walk through the trigger the AI suddenly spawns (it doesn't spawn at the beginning of the map) and runs to the node. Any ideas??
I set up a trigger_multiple with
setthread runto_elevator
and the thread says
runto_elevator:
level.friendly1 runto elevator_node.
The only problem is, that when I walk through the trigger the AI suddenly spawns (it doesn't spawn at the beginning of the map) and runs to the node. Any ideas??

-
TheShiznaeSpe
- Major
- Posts: 304
- Joined: Wed Feb 05, 2003 11:45 pm
- Location: US
- Contact:
