Home   Help Search Login Register  

Author Topic: Making a guard open a placed animated gate  (Read 1364 times)

0 Members and 1 Guest are viewing this topic.

Offline MajorHurt

  • Members
  • *
Making a guard open a placed animated gate
« on: 13 May 2008, 20:20:07 »
Hello all,

This is probably a stupid question, but nothing I've found so far has helped.

I've been trying to figure out how to have a car approach a gate, and a guard appear to open and close the gate, allowing the truck through. The gate (Universal Objects/(OBJ) gate anim) isn't part of the map (CAT Central Afghanistan) and I've tried everything I can think of, but nothing seems to work. I don't know what specific animate command relates to this specific gate. I've tried "door1",1, etc.

Any suggestions.

Thanks,

MH

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Making a guard open a placed animated gate
« Reply #1 on: 13 May 2008, 20:51:27 »
You need to move the guard to the gate, then make it to watch at the gate and then use the animate command to open the gate. The guard will not open it by its own.

Offline MajorHurt

  • Members
  • *
Re: Making a guard open a placed animated gate
« Reply #2 on: 13 May 2008, 21:03:26 »
I know. I've tried that, but it hasn't worked. I named the gate "gate" and used a vehicle present trigger, with: gate animate ["doors1",1] in the On Activation box....

Still the truck comes up and stops. The guard walk over to the gate. But the gate doesn't open.

Again the gate I'm using is in the editor under Empty/Objects Universal/(OBJ)gate anim

Maybe it's the gate object itself. Maybe I'm using the wrong animate command for it?  :dunno:

Any help would be great appreciated.  :D

Offline Gcfungus

  • Members
  • *
Re: Making a guard open a placed animated gate
« Reply #3 on: 13 May 2008, 23:47:46 »
Firstly try looking for the correct animation, as it may not work otherwise (I'm not sure how to find it, you may need someone more experienced).

Also, if you cannot find an answer that way, may I suggest actually blacking out for a short time, deleteing (or moving) the closed gates away and replacing them with open ones (if there is in the addon, I'm not familiar with thast exact one).

Otherwise, there's little more I couldhelp you with

-=GC=-Fungus1999
The object of war is not to die for your country, but to make the other bastard die for his.
~George Patton

Offline MajorHurt

  • Members
  • *
Re: Making a guard open a placed animated gate
« Reply #4 on: 14 May 2008, 00:12:51 »
Yeah, that's what I'm kind of figuring the problem is. I'm not sure what the correct animation is, and quite frankly I'm not even sure what mod set the gate came from.

If I could only figure out how find the correct animation for this particular gate, I think I'd be in business. In the meantime, I'll delete it and re-think my cutscene.

Thanks much.

If anyone else knows anything about the object Universal Objects/(OBJ)anim gate I'd appreciate it, as I'd really like to use it in my mission.

Cheers,
MH
« Last Edit: 14 May 2008, 18:04:17 by h- »

Offline MajorHurt

  • Members
  • *
Re: Making a guard open a placed animated gate
« Reply #5 on: 14 May 2008, 05:30:06 »
I figured it out!  :D

The name of the animation for this object is "arm".

Onward and upward!  :good:

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Making a guard open a placed animated gate
« Reply #6 on: 14 May 2008, 18:08:13 »
MajorHurt, welcome to OFPEC :welcome:

Good thing you got this sorted out. :)

However, as per our posting guidelines:
- please do not quote the entire previous post you are replying to, no need to do that
- do not post consecutively, if you have something to add after a short period of time modify your post instead of 'replying to yourself'
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline MajorHurt

  • Members
  • *
Re: Making a guard open a placed animated gate
« Reply #7 on: 14 May 2008, 22:29:49 »
Thanks! Good to be here.  :D

Sorry about my posting transgressions. Won't happen again.

Cheers,

MH