Comrades in Arms Discussion Board
Cutscene - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: Cutscene (/showthread.php?tid=1931)



Cutscene - Bubba - 10-18-2010

I'm just wondering, what might be the easiest way to make a cutscene (Maybe intro), where somebody shoots a Chopper down? What kind of commands are there for this? I've tried to go through the scripting commands for Something like giving commands Aim and then Fire. (Found setTargetAge but no simple setTarget)
And yes I'm a complete beginner in scripting (and pretty much mission making) so if this sounds stupid, feel free to explain why! Big Grin

So there's a command "fire" that forces unit to fire his weapon in hand. Should work?
And now I found "aimPos" but can this be usef if firing with something like strela/Igla/stinger?
And I guess turretLockOn works only for tanks?


Re: Cutscene - Zulu1 - 10-18-2010

Hey Bubba,

Some commands that might help you are:

knowsabout  http://community.bistudio.com/wiki/knowsAbout
dotarget  http://community.bistudio.com/wiki/doTarget
dofire  http://community.bistudio.com/wiki/doFire

I hope this helps you. The wiki is a good scripting ref.


Re: Cutscene - Bubba - 10-18-2010

Yeah. I searched the BI WIKI for those! Thanks Zulu, those are propably the ones I'll need!

But me understands not how to use the "knowsabout" and what for?



Re: Cutscene - Zulu1 - 10-18-2010

Knowsabout lets one unit know about another unit.

unit 1 knowsabout unit2

Chain these all together like this:

unit 1 knowsabout unit2; unit1 dotarget unit2; unit1 dofire unit2


Re: Cutscene - Bubba - 10-19-2010

Allright, so it just makes sure that the AA gunner is aware of the chopper!? Ok, I guess I got it. Thanks A LOT!  Wink


Re: Cutscene - Zwobot - 10-19-2010

(10-18-2010, 07:28 PM)Zulu1 link Wrote:Knowsabout lets one unit know about another unit.
No.

Reveal lets one unit know about another while knowsAbout checks how much one unit knows about another.


Re: Cutscene - Bubba - 10-19-2010

Ok, didn't have time to test these jet but thanks for correcting. I looked at the knowsabout and it said that it checks if someone know about something, but didn't wan't to argue since I don't know rats ass about this! Big Grin


Re: Cutscene - Zulu1 - 10-19-2010

I bow to the master. Reveal maybe be a better choice. The firing unit must be aware of the target unit if anything is going to happen.