Home   Help Search Login Register  

Author Topic: Few questions :/  (Read 3841 times)

0 Members and 1 Guest are viewing this topic.

Offline Rytuklis

  • Members
  • *
Few questions :/
« on: 12 Dec 2012, 17:44:45 »
Hey there. I have a few questions, such as:

How do i make an object activate once a certain unit is no longer moving? A convoy at this instance.
How do i force a unit to always stay alive?
How do i make the camera to look through the sniper scope or binoculars?

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: Few questions :/
« Reply #1 on: 13 Dec 2012, 12:36:11 »
"How do i force a unit to always stay alive?"

Write the unit's init field: this allowDamage false.
Fix bayonet!

Offline Rytuklis

  • Members
  • *
Re: Few questions :/
« Reply #2 on: 13 Dec 2012, 16:13:33 »
Thank you :). Can anyone answer the rest of the questions?

Offline F2kSel

  • Members
  • *
Re: Few questions :/
« Reply #3 on: 14 Dec 2012, 02:10:59 »
How do i make an object activate once a certain unit is no longer moving? A convoy at this instance.

if (speed unitname == 0) then {whatever script you want goes here};

or in a trigger condition
speed unitsname == 0

on act
Hint "the vehicle has stopped"

Offline Rytuklis

  • Members
  • *
Re: Few questions :/
« Reply #4 on: 15 Dec 2012, 10:29:59 »
Thanks. And how about the third question?

Offline Inlesco

  • Members
  • *

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: Few questions :/
« Reply #6 on: 29 Dec 2012, 22:55:14 »
We have threads which cover this too Inlesco. Our COMREF can provide some help for commands, in your case, CutRsc. Type cutrsc into the search feature of our site and have access to years of discussion.

Don't shy away from OFP or Arma discussion threads either, because they are still relevant to Arma2 subject matter. It's still the same engine, using the same commands, just improved in later titles with more commands to simplify the editing process.

I realize community members beat this phrase to death but it will truly help you learn better..."Use the search feature". It will reveal threads that open up more possibilities than you could imagine and if you still don't find a solution to your problem, then we are certainly here to help you, but you help yourself more by digging into past discussions first. Once you are at your wits end and can't locate a solution or just don't know what keyword to search for, then ask, but please do so by starting a thread for each new discussion, and naming it appropriately.

Happy editing and I wish you great adventures in learning through searching.
« Last Edit: 29 Dec 2012, 23:02:31 by savedbygrace »