Home   Help Search Login Register  

Author Topic: I need alittle help  (Read 1387 times)

0 Members and 1 Guest are viewing this topic.

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
I need alittle help
« on: 16 Aug 2005, 01:47:00 »
I am making a mission that requires stealing a T-90 and bring it to a catpured airfield. What I can't figure out is how to make a specific trigger that knows when the tank has arrived. Also, I need to make a trigger the Ends the mission in Failure if the tank gets destroyed. Is this possible without a script?

Regards,
Trash Can Man
« Last Edit: 16 Aug 2005, 20:46:24 by Trash Can Man »

Offline Pilot

  • Contributing Member
  • **
Re:I need alittle help
« Reply #1 on: 16 Aug 2005, 01:55:27 »
Uhh, maybe try the following:
Problem 1:
Make a trigger that covers the airfield and set it to west present (or whatever side the stealer is on)
Then, in the condition field, type:
player in thislist and player in TankName

Where TankName is the name of the T-90

Problem 2:
Put the following in the condition field of a trigger:
Not alive TankName

Where TankName is the name of the T-90

-Student Pilot

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re:I need alittle help
« Reply #2 on: 16 Aug 2005, 14:49:30 »
Problem 1:
You can also group a trigger to a unit.  Place an any unit present  trigger.  Click on group button, then drag a group line between the trigger and the T-90.  Then only the T-90 will set off that trigger.
« Last Edit: 16 Aug 2005, 14:49:55 by Mr.Peanut »
urp!

Offline Pilot

  • Contributing Member
  • **
Re:I need alittle help
« Reply #3 on: 16 Aug 2005, 18:13:46 »
IIRC grouping a trigger to an empty vehicle won't work.  I am assuming the T-90 that the player must steal is empty.  I would be glad to be proven wrong on this, however.

-Student Pilot

ROBINO

  • Guest
Re:I need alittle help
« Reply #4 on: 16 Aug 2005, 19:17:15 »
Or try this inside a trigger:

Code: [Select]
tankname distance log1 < 100
where tankname is name of tank
log1 is a gamelogic placed at the airfield

also instead of using:

Code: [Select]
not alive tankname
it is better to use:

Code: [Select]
not canmove tankname
because your tank could get its tracks blown or disabled but not actually be dead

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
Re:I need alittle help
« Reply #5 on: 16 Aug 2005, 21:39:55 »
Does gamelogic need to be named, or is "log1" the name?

Offline Pilot

  • Contributing Member
  • **
Re:I need alittle help
« Reply #6 on: 16 Aug 2005, 21:44:38 »
The gamelogic will need to be named.

@canmove vs !alive
Doh!  That's right, I had forgotten about that. ::)  Thanks, ROBINO.

-Student Pilot