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 → Dark Cog
Dark Cog
2002-12-30, 4:21 PM #1
Could someone please make a cog for me that when the player is in a specified sector, a specified actor's ai is turned off, when the person leaves the sector, the ai is turned back on.
Daddy, why doesn't this magnet pick up this floppy disk?
2002-12-30, 4:58 PM #2
Code:
#12/2002 GBK
Symbols
Message Entered
Message Exited
Sector Zone
Thing Actor
AI Dumb_AI
AI Mean_AI
End
Code
Entered:
If(Getsenderref() != Zone) Stop;
AIsetclass(Actor, Dumb_AI);
Stop;
Exited:
If(Getsenderref() != Zone) Stop;
AIsetclass(Actor, Mean_AI);
Stop;
End


It works by swapping out AI files. Use a regular PED .ai for the dumb one, and the actor's original .ai for the mean one.
And when the moment is right, I'm gonna fly a kite.
2002-12-30, 5:12 PM #3
Thanks.
Daddy, why doesn't this magnet pick up this floppy disk?

↑ Up to the top!