Home   Help Search Login Register  

Author Topic: Multiple Initializations  (Read 516 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

Offline 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
I know a little about a lot, and a lot about a little.

Offline 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 »