View Full Version : AIsetfiretarget(thing, enemy)...
The_Chimera_FJ
01-25-2001, 12:04 PM
...doesn't work. Any ideas?
(all the enemies work as normal)
Xizor42
01-25-2001, 07:27 PM
Hmmmmm.....could be that:
Your hypodermical spherical neminestimeral obitular reman-a-tron has quadraplated its munomulator to the power of 78^3 while in doing so manipulating the feedback from the quasmi-nomical biodualtor in the reverse cycloptic motion in which the cereb-o-matic fuses its cy-chim-a-trons to the fourth, second and third mes-ma-matic with the completion of seperating Volume III quasmatic fluid with the over-reactive radiation produced from the bowels of the shielded sysmatic biogenetically reproduced wamatriculator fonton-ma-tron.
------------------
"The Answer to everything...Life, the Universe, and Everything, is...42!"
--Deep Thought
Hitchhiker's Guide to the Galaxy
Project Leader of RemRan Productions (http://go.to/remran)
[Hideki - Refrain from meaningless reply]
[This message has been edited by Hideki (edited January 27, 2001).]
Aglar
01-26-2001, 04:30 AM
Xizor - It's people like you that keep people like Chimera from posting..
Chimera - Post your cog here.
------------------
Together we stand.
Divided we fall.
The_Chimera_FJ
01-26-2001, 05:00 AM
thanx Aglar. Xizor was so nasty *sniff* I just can't take it anymore!
Anyhoo, heres the code:
#friendly.cog
#By the Chimera
Symbols
message startup
thing friendly
thing enemy
end
#------------------------------------
startup:
AISetFireTarget(friendly, enemy);
end
Rogue15
01-26-2001, 08:59 AM
that cog didn't work 4 me either. the aisettarget thing that you're supossed to place in the .ai file.
Aglar
01-26-2001, 09:47 AM
..no
AISetFireTarget is a cog verb, it belongs no where near an ai file..
Do you have the cog properly inserted?
------------------
Together we stand.
Divided we fall.
The_Chimera_FJ
01-26-2001, 09:49 AM
definitely
Fardreamer
01-26-2001, 11:21 AM
AISetFireTarget() doesn't work on it's own, for some reason. You need a few other functions.
AIClearMode(attacker, 0x3844);
AISetMode(attacker, 0x63B);
AISetInterest(attacker, target); // optional; only in MotS, I believe
AISetFireTarget(attacker, target);
AISetLookPos(attacker, GetThingPos(target)); // optional as well, but I'm not sure
Just play around with adding and removing some of these lines till it works.
Fardreamer
01-26-2001, 11:23 AM
Oh, and you forgot a "Return;" at the end of the startup message right before the "END" command. http://216.105.160.32/html/wink.gif That's the main reason it doesn't work.
And you forgot the code line after the end of the symbols http://216.105.160.32/html/smile.gif
-Jipe
The_Chimera_FJ
01-26-2001, 11:43 PM
YAY!!! It worked! Thanx evrybody.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.