Home   Help Search Login Register  

Author Topic: SCRIPTS!!!  (Read 653 times)

0 Members and 1 Guest are viewing this topic.

lebedis

  • Guest
SCRIPTS!!!
« on: 29 Oct 2004, 16:43:14 »
Hey people!
Help me i am a begginer!I would like to know HOW to create a script that would make sodier sitdown or something like that??? ??? ??? ???

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:SCRIPTS!!!
« Reply #1 on: 29 Oct 2004, 17:05:53 »
Welcome to the forum!

Everything you need is in the Editors Depot.    There's a link at the top of this page and it's worth spending a little time exploring to see what's there.    

To learn how to make scripts (its dead easy, don't worry) read Johan Gustafsson's Scripting Tutorial and snYpir's A Friendly Intro to Code Snippets.

To see the switchmove/playmove animations, find the little demo mission that ponq and I made.   There is also a helpful reference list of the animations.   There are several versions of sitting down, so experiment till you find the one you want.
Plenty of reviewed ArmA missions for you to play

Lean Bear

  • Guest
Re:SCRIPTS!!!
« Reply #2 on: 31 Oct 2004, 18:32:15 »
Or if you're too lazy to look through everything, here's how:

"UnitName" switchMove "NameOfMove/Anim"

eg. "aP" switchMove "fxShow1"

nuzzimauro

  • Guest
Re:SCRIPTS!!!
« Reply #3 on: 31 Oct 2004, 20:18:16 »
u can try also:

<unit> action ["sitdown"]

your <unit> must be set in "safe" or "careless"
(i.e. <unit> setbehaviour "safe")


Offline El Fisho

  • Members
  • *
  • u are expecting somthing about lamas aint ya
Re:SCRIPTS!!!
« Reply #4 on: 01 Nov 2004, 20:39:27 »
snyper's great tutorial will tell you anyway

To activate a script you need to write:

[paramaters] exec "nameofscript.sqs"

paramaters is anything that is specific to your mission i.e. the position of an explotion/artillery barrage

exec is short for execute

if there are no paramaters needed just do this []  :D

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:SCRIPTS!!!
« Reply #5 on: 01 Nov 2004, 21:33:02 »
 :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon:
[size=12] :afro: WELCOME TO THE SEWERS OF EDITING, lebedis :afro:[/size]
:moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon: :moon:

8) Have a nice stay, matey! :thumbsup:



Offline El Fisho

  • Members
  • *
  • u are expecting somthing about lamas aint ya
Re:SCRIPTS!!!
« Reply #6 on: 02 Nov 2004, 13:48:16 »
WOAH  :o :o :o

Soz i forgot to mention

 8) HELLO 8)