Home   Help Search Login Register  

Author Topic: This is all very confusing...  (Read 460 times)

0 Members and 2 Guests are viewing this topic.

Offline GreyKnight

  • Members
  • *
  • I'm a llama!
This is all very confusing...
« on: 26 Oct 2003, 20:52:44 »
Hi everyone.  I used to come here a lot, but had a long time off from playing and editing OFP.  I've recently got back into it and realised I'd forgotten everything I ever knew about editing so I decided to pay the old Editing Centre a visit again -  :o OH MY GOODNESS IT'S CHANGED.

Unfortunately I don't seem to be able to find a straight answer on anything I've searched for!  I'm sure I'll find stuff eventually, but in the meantime can anybody tell me how to delete both a vehicle and it's crew from a mission?  I'm using the deleteVehicle command on a chopper, but when the chopper disappears it's crew fall out of the sky  :-\

Also, which tutorials would you recommend for learning scripting in a sensible order?  ie, beginner, average, expert etc.

Thanks

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:This is all very confusing...
« Reply #1 on: 26 Oct 2003, 23:03:28 »
2 delete vehicle nd its crew use

"deletevehicle _X" foreach (crew Chopername); deletevehicle Chopername

;D

as 4 TUTs - i have no idea ::) didnt use em never :P ;) ;D

LCD OUT

P.S

WELCOME BACK M8

:cheers:
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:This is all very confusing...
« Reply #2 on: 26 Oct 2003, 23:06:18 »
 :D Heya d00d, and welcome back!  :-* some of us never left (in fact we're stuck  >:( ;D 8) )

j/k man, listen up !!

 :)  To delete a vehicle/man/object, type:

  DeleteVehicle   Veh.Name
  or:
  DeleteVehicle This  (used in init fields and waypoints)
  or:
  "DeleteVehicle _x" forEach ThisList / List TriggName  (used in triggers/scripts)

   :o IMPORTANT :o
  If its a vehicle with a default driver, gunner etc, just type:

  DeleteVehicle Car1d; DeleteVehicle Car1g; DeleteVehicle Car1

 ...so its the crew first & then the vehicle itself. Or ya might risk crashing the game!  ::)

About scripting - no real clean way, making scrolls will always suck!  >:( ;D
Get to it, d00d, just decrypt and read downloaded missions/scripts, and change the content to fit YOUR mission.
Then - by time - you'll get a grip on things. shouldn't take ya more then.... 4-5 years!  :o ;D



Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:This is all very confusing...
« Reply #3 on: 27 Oct 2003, 10:57:52 »
To (re)learn scripting, start with Johan Gustafsson's Scripting Tutorial and snYpir's Friendly Intro to Code Snippets.      For camera scripting read snYpir's camera tute (yes he wrote a lot of excellent ones!) followed by messiah's camera.sqs.    

Read the Command reference - preferably the online version - through like a book, just quickly so you have a rough idea of what commands are available.     Lastly, get familiar with the Unofficial Command reference, which gives a different take on the same thing.   Sadly its slighty out of date now, but still well worthwhile.

And unpbo a few missions and look at their scripts, always a good way to learn.
Plenty of reviewed ArmA missions for you to play