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 → Very very simple question.
Very very simple question.
2004-07-27, 9:00 PM #1
How do I get an ai to move to a ghost postion?

------------------
~Nightfire Mod~
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-07-27, 9:13 PM #2
There's a GREAT tut on it, called patrolling enemies, methinks. Also a plugin for even better AI control. Both work wonders, I suggest you try them. They're also great starts for learning AI coding.

JediKirby

------------------
jEDIkIRBY - Putting the Romance back into Necromancer.
Proud Leader of the Minnessassian Council

Live on, Adam.
ᵗʰᵉᵇˢᵍ๒ᵍᵐᵃᶥᶫ∙ᶜᵒᵐ
ᴸᶥᵛᵉ ᴼᵑ ᴬᵈᵃᵐ
2004-07-27, 11:19 PM #3
Thanks, ok I have that problem solved, but, now new problem, what line would I use to apply force grip to an ai.

------------------
~Nightfire Mod~
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-07-28, 7:23 PM #4
can someone tell me?

------------------
~Nightfire Mod~
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-07-28, 7:39 PM #5
To force grip an ai you need to select the force power "force grip", hold it down and let get after the red rights show around it who you want to grip... j/k, OR you can do it by putting this in your cog.

Code:
  DamageThing(victim, damage * rank / 2, 0x8, player);
  // Force the victim to stay in place
  SetActorFlags(victim, 0x40000);
  // But prepare to free it again in 0.45 seconds
  SetTimerEx(0.45, victim, GetThingSignature(victim), 0);
timer:
   // This checks that the thing ref is still assigned to the same thing
   if(GetThingSignature(GetSenderId()) == GetParam(0))
   {
      ClearActorFlags(GetSenderId(), 0x40000);
   }


you need to set the player, victim, rank, and damage though

------------------
GetThingSignature(Ace1);

[This message has been edited by Ace1 (edited July 28, 2004).]
I am _ Ace_1 _ , and I approve this message.
2004-07-28, 9:50 PM #6
Ok thanks ive got everthing now.

------------------
~Nightfire Mod~
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi

↑ Up to the top!