OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: schuler on 17 Jan 2013, 09:34:27

Title: cant even get a simple script to work !!!
Post by: schuler on 17 Jan 2013, 09:34:27

Hello old friends, ive been off gamming for about 3yrs. Cant get triggers to run scripts in amra2 ultimate military simulator and AO , I don’t have CO. also put AO addons in amra 2 UML and cant play any user mission, always get bla bla cant load something has been deleted,,,, cheers Schuler

**** 2 parameters needed:
; ****    1. Trigger smoke is attached to. (Object)
; ****    2. Color of smoke. ("WHITE", "RED", "GREEN") (String)
; ****
; **** Example how to use:
; ****    TRIGGER:
; ****    Radius: 50
; ****    Name: Smoke_1
; ****    Activation: WEST + PRESENT
; ****    On Activation: [Smoke_1, "GREEN"] Exec "Smoke.sqs"
Title: Re: cant even get a simple script to work !!!
Post by: h- on 17 Jan 2013, 14:29:32
 :welcome: back

Quote
amra2 ultimate military simulator and AO , I don’t have CO.
Having Arma2 and OA installed makes it CO so do not move any of the game files criss-cross..

When you have Arma2 installed and you install OA it should automatically combine itself with Arma2 (install into Arma2 directory). Then when you launch the game from the OA shortcut all the Arma2 stuff is available within OA thus making it CO.



As for the script, camCreate no longer works on anything else than cameras (for cutscenes) so you have to use createVehicle (http://www.ofpec.com/COMREF/index.php?action=details&id=86&game=All).
Or if, to my understanding, using this in MP createVehicleLocal (http://www.ofpec.com/COMREF/index.php?action=details&id=456&game=All)..
Title: Re: cant even get a simple script to work !!!
Post by: schuler on 17 Jan 2013, 23:29:49
Well h- you answer one question I didn’t ask. Might be time for this old boy to to be put out to pasture as far mission making goes and stick with beta testing LOL. may there be a list of these changes ???
i thought arma 2 ums was arma 2  >:( cheers M8 !!!

Title: Re: cant even get a simple script to work !!!
Post by: h- on 19 Jan 2013, 09:46:54
Quote
Might be time for this old boy to to be put out to pasture as far mission making goes and stick with beta testing LOL
I doubt you have to do that, I mean all the mission making basics are the same, there's like one or two of these kind of changes.
There's also BIS made functions available in the editor, we have some of them listed (http://www.ofpec.com/COMREF/index.php?action=read&id=231).

There's a lot of new scripting commands as well, but of course you may never even need them, it depends on how much scripting you would wanna do.
Title: Re: cant even get a simple script to work !!!
Post by: schuler on 20 Jan 2013, 09:30:33
far out !!! bookmarked that. thanks alot
Title: Re: cant even get a simple script to work !!!
Post by: savedbygrace on 20 Jan 2013, 23:40:47
Welcome back Schuler! Now get off your lazy bum and dig dig dig!
Title: Re: cant even get a simple script to work !!!
Post by: schuler on 21 Jan 2013, 04:12:49
HAHA Saved  !!! will be now that i though i was going to be to much trouble. we just bought a house and, well you know the rest! glad to see your stuck around waiting for me to come back  :-*