Home   Help Search Login Register  

Author Topic: Turn off heli radar and move a trigger?  (Read 1130 times)

0 Members and 1 Guest are viewing this topic.

Offline NoMore

  • Members
  • *
  • Location: Denmark
Turn off heli radar and move a trigger?
« on: 26 Jul 2009, 13:44:34 »
As the headline says...
Any way to make things not appear on a helicopter radar or simply turn it off?
Second how do you move a trigger? Saw another threat about it but it doesn't work.
It was something like this:
trig1 setpos (getpos SomeObject) 

NoMore from me  ;)
Thank you
"He who stands with me shall be my brother." - Warhammer 40k: Dawn of War

Offline Gruntage

  • Missions Depot
  • Administrator
  • *****
  • How do I get outta this chickensh*t outfit?
Re: Turn off heli radar and move a trigger?
« Reply #1 on: 26 Jul 2009, 14:30:47 »
I dont think u can turn off a heli's radar  :dunno: However i think the Knowsabout command could be useful in this scenario. Perhaps having:

Code: [Select]
?(_unit knowsabout _target > 5): [_unit] exec "targetfound.sqs"
This basically increases the time it takes for a unit to detect an enemy unit. I THINK lol  ;)

_unit would of course be your chopper and _target would be like an enemy tank or something.

As for moving a trigger, im sure it is possible but ive never tried it  :dunno:

Hope this helps

Gruntage
"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba

Walter_E_Kurtz

  • Guest
Re: Turn off heli radar and move a trigger?
« Reply #2 on: 26 Jul 2009, 22:39:01 »
Moving a trigger ought to work in the way you expect.

Make sure you have given the correct names to the trigger and object.

Ensure that SomeObject is really an object; if it's a marker, you'd have to use
Code: [Select]
trig1 setPos (getMarkerPos SomeMarker)

Offline NoMore

  • Members
  • *
  • Location: Denmark
Re: Turn off heli radar and move a trigger?
« Reply #3 on: 28 Jul 2009, 11:27:18 »
I still can't move the trigger... But never mind that then. The radar is more important.

Quote
?(_unit knowsabout _target > 5): [_unit] exec "targetfound.sqs"
What shall i put where - is it all part of a script?
And what is targetfound.sqs?

Thanks
NoMore
"He who stands with me shall be my brother." - Warhammer 40k: Dawn of War

Offline Gruntage

  • Missions Depot
  • Administrator
  • *****
  • How do I get outta this chickensh*t outfit?
Re: Turn off heli radar and move a trigger?
« Reply #4 on: 28 Jul 2009, 11:32:36 »
This can be put in the Init.sqs of your mission, or in a trigger. Targetfound.sqs is what happens when a target is located, you might want put in the script:

Code: [Select]
[West,"hq"] sidechat "We've found a tank at DF25"
_unit = your chopper

_target = an enemy unit like a tank or uaz

the targetfound.sqs would look a little like this:

Code: [Select]
_unit = _this select 0

_unit sidechat "blablabla"

~2

[West,"hq"] sidechat "blablabla"

exit
"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba