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
) »
Multiple Initializations
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Multiple Initializations (Read 514 times)
0 Members and 1 Guest are viewing this topic.
SniperSteve
Guest
Multiple Initializations
«
on:
21 Nov 2004, 15:32:30 »
Hay is it possible to have things like in your Initialization line when u create a unit have something like [this] exec "fire.sqs" this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +17.7]. so it all works together..P.S as u see im a noob editor
Cheers Steve
Logged
Planck
Honoured
Former Staff
I'm never wrong ....I'm just not always right !
Re:Multiple Initializations
«
Reply #1 on:
21 Nov 2004, 16:04:43 »
If you wish to have multiple commands in a units init line you need to separate them with a '; '.
Like so:
[this] exec "fire.sqs"
;
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +17.7]
Planck
Logged
I know a little about a lot, and a lot about a little.
Triggerhappy
Contributing Member
Llama, it's what's for dinner.
Re:Multiple Initializations
«
Reply #2 on:
21 Nov 2004, 17:07:17 »
this is definitely in the wrong section. Should be on the general editing/scripting board
thats better
«
Last Edit: 21 Nov 2004, 20:30:11 by Triggerhappy
»
Logged
Sliding plane crash script
Arrest script
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
) »
Multiple Initializations
Top of page