Staredit Network

Staredit Network -> UMS Assistance -> Ai script help please
Report, edit, etc...Posted by Grizzly(B2BF) on 2006-08-29 at 07:48:49
Basically I've used more than one:

Build nuke (one which doesnt have side effects)
Cast recall
Nuke here
Disruption web
Junk yard dog

They all are triggered correctly-believe me I've checked.

Problem:

They've stopped working but they were working before and I can't figure out why.

Is it because I have too many units/strings/scripts on the map which have an effect on them? (Like how you can't edit unit properties easily when you have create too many units on the map?)
Any advise/solutions would be nice.
Report, edit, etc...Posted by Shadow181 on 2006-08-29 at 08:06:13
check the player(s) the trigger is running on.
Report, edit, etc...Posted by Grizzly(B2BF) on 2006-08-29 at 08:09:30
No it's nothing to do with how the triggers are put together. They are all working fine it's just the ai script. Something is interfeiring with it, whether it is number of units/triggers/strings etc I don't know. I need to know what is effecting them in order to fix tho...
Report, edit, etc...Posted by Shadow181 on 2006-08-29 at 08:39:47
Well it depends on what type of AI script ur using.
Report, edit, etc...Posted by Grizzly(B2BF) on 2006-08-29 at 08:54:58
QUOTE(Grizzly(B2BF) @ Aug 29 2006, 11:48 AM)
Basically I've used more than one:

Build nuke (one which doesnt have side effects)
Cast recall
Nuke here
Disruption web
Junk yard dog

They all are triggered correctly-believe me I've checked.

[right][snapback]552931[/snapback][/right]


Those. The "recall" and "junkyard dog" work fine and i think the "nuke here" too but i haven't got a nuke to test it with yet...

The dis web and building the nuke are the problems. It's not trigger help I want, it's just an answer to my question, Are ai scripts affected by something else on the map. e.g. amount of triggers/strings etc which could prevent them from working?
Report, edit, etc...Posted by JordanN_3335 on 2006-08-29 at 09:35:22
Well is there a nuclear silo or the certain amount for the player? And is there a cosair also? closedeyes.gif
Report, edit, etc...Posted by Grizzly(B2BF) on 2006-08-29 at 10:39:43
Yes obviously there is. I've got the corsair one to work - or it started working again for some reason.

Now it's just the nuclear silo. This is the main worry as I know for a fact that there is something else messing with this ai script.

The triggering is all working because it's simple and it used to work until I reached the unit limit. That's what I think affected it and stopped it from working.

Can anyone back that up or has my map just become bugged by SF...?
Report, edit, etc...Posted by Lord-Omega on 2006-08-29 at 11:04:26
are you trying to make them nuke right at begging in game? usally that doesnt work, or you might have to do the "race" insane. ai script 1 so they start with a nuke. if that dont work i dont know...
Report, edit, etc...Posted by MoonlighTurtle on 2006-08-29 at 11:10:43
The problem might be that the comp is running too many ai scripts at a time. Some AI scripts have a problem with this, but others, such as junkyard dog, I believe, can be always preserved and won't interfere with other scripts.
Report, edit, etc...Posted by Lord-Omega on 2006-08-29 at 11:13:44
that might be it
Report, edit, etc...Posted by Kyuubi. on 2006-08-30 at 03:16:31
well you might know this already, but you would need to supply and enable the necessary things for it to execute the script. for example, if you want to do recall, you'll need to place an arbiter for a computer player, enable/researched the ability as default, and set the energy cost to 0 so it can cast it). don't think the hero arbiter can do the recall script.

anyway if you done that, then probably you do have too many scripts firing at one time.

for the nuke it won't create the nuke if the unit limit is reached, and without that, the script can't be fully executed.

QUOTE
- Nuking -
*Use the direct "Build nuke at location" AI to force the computer to build a nuke in a silo (I don't think your suppose to preserve this trigger that this AI is in)
*With a nuke ready now use the "Target nuke at location" AI to force the computer to use one of its ghost to target the first unit that gets in its way with a nuke (you can preserve this trigger)
*A ghost will target invincible units with a nuke despite the fact the nuke won't even hurt it
*Sometimes even what the computers default race can matter to get this to work so set it to terran if it doesn't seem to work with the others


well here's a tutorial link for getting computers to use certain things. just scroll down to the abilities you're looking for.

http://www.staredit.net/index.php?tutorial=175
Report, edit, etc...Posted by Grizzly(B2BF) on 2006-08-30 at 11:27:48
OMG OMG OMG OMG!!
I love you sooooo f**king much right now!

QUOTE
*Sometimes even what the computers default race can matter to get this to work so set it to terran if it doesn't seem to work with the others*


That was the problem! It's official, Kyuubi. rules. w00t.gif w00t.gif w00t.gif

*case closed*
Next Page (1)