Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
how do i add more than 1 thing to a Init?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: how do i add more than 1 thing to a Init? (Read 479 times)
0 Members and 1 Guest are viewing this topic.
Towne
Guest
how do i add more than 1 thing to a Init?
«
on:
14 Jun 2004, 02:09:53 »
how would i add this [this,2] exec "toughunit.sqs" and this ["unitname",0]exec "thisscript.sqs" to the init. is there a way of doing it. if someone posted already about it plz lead me in that direction.
Thank you and God bless
Towne
Logged
j-man
Guest
Re:how do i add more than 1 thing to a Init?
«
Reply #1 on:
14 Jun 2004, 02:51:42 »
just use ";" to sererate commands. Eg:
[this,2] exec "toughunit.sqs"; ["unitname",0]exec "thisscript.sqs"
If you want to find out more about OFP scripting and mission editing, I suggest looking at
OFPECs editor depot
. It has tons of tutorials and guides.
«
Last Edit: 14 Jun 2004, 02:53:08 by j-man
»
Logged
macguba
Former Staff
Re:how do i add more than 1 thing to a Init?
«
Reply #2 on:
14 Jun 2004, 11:52:24 »
There is a special file called init.sqs which allows you do things at the start of the mission. It's very easy to use. I suggest you read
macguba's guide to mission editing for beginners
snYpir's how to use obectives and init.sqs
snYpir's friendly intro to code snippets
if you haven't already. The Tutorial Mission has a working example of an init.sqs.
Logged
Plenty of
reviewed ArmA missions
for you to play
Towne
Guest
Re:how do i add more than 1 thing to a Init?
«
Reply #3 on:
14 Jun 2004, 20:14:22 »
Thank you for you help
God bless
Towne
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
how do i add more than 1 thing to a Init?
Top of page