Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → AIsetfiretarget(thing, enemy)...
AIsetfiretarget(thing, enemy)...
2001-01-25, 9:04 AM #1
...doesn't work. Any ideas?
(all the enemies work as normal)
2001-01-25, 4:27 PM #2
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

[Hideki - Refrain from meaningless reply]

[This message has been edited by Hideki (edited January 27, 2001).]
"The Answer to everything...Life, the Universe, and Everything, is...42!"
--Deep Thought
Hitchhiker's Guide to the Galaxy

Project Leader of RemRan Productions
2001-01-26, 1:30 AM #3
Xizor - It's people like you that keep people like Chimera from posting..

Chimera - Post your cog here.

------------------
Together we stand.
Divided we fall.
2001-01-26, 2:00 AM #4
thanx Aglar. Xizor was so nasty *sniff* I just can't take it anymore!
Anyhoo, heres the code:
Code:
#friendly.cog
#By the Chimera
Symbols
message     startup
thing       friendly
thing       enemy
end
#------------------------------------
startup:
AISetFireTarget(friendly, enemy);
end
2001-01-26, 5:59 AM #5
that cog didn't work 4 me either. the aisettarget thing that you're supossed to place in the .ai file.
I am lost and could care less if someone finds me.
2001-01-26, 6:47 AM #6
..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.
2001-01-26, 6:49 AM #7
definitely
2001-01-26, 8:21 AM #8
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.
Dreams of a dreamer from afar to a fardreamer.
2001-01-26, 8:23 AM #9
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.
Dreams of a dreamer from afar to a fardreamer.
2001-01-26, 12:49 PM #10
And you forgot the code line after the end of the symbols [http://216.105.160.32/html/smile.gif]

-Jipe
2001-01-26, 8:43 PM #11
YAY!!! It worked! Thanx evrybody.

↑ Up to the top!