Home   Help Search Login Register  

Author Topic: ArmA Support Pack V2 mission examples  (Read 1377 times)

0 Members and 1 Guest are viewing this topic.

Offline eegore

  • Members
  • *
ArmA Support Pack V2 mission examples
« on: 05 Jun 2010, 19:40:25 »

  Does anyone have a working link to the example mission(s) for the Support Pack V2 by Michael?  I have the pack but cant figure out how to call the scripts correctly. 

  On a related note I have the Napalm demo mission but if I copy/paste the Napalm folder and the description.ext to another mission I always get the sound not found pop up wen the nape drops.  I don't know why this happens since the folder is exactly the same so all the sounds are there. 

  Maybe the example mission can be dissected so I can see what Im doing wrong.

Thanks

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: ArmA Support Pack V2 mission examples
« Reply #1 on: 16 Jun 2010, 13:01:49 »
SQF = object execVM "script.sqf"  
SQS = object exec "script.sqs"

Make sure the file location matches that of the call line, for example
object execVM "scriptfolder\scripteffectsfolder\scripttripwire.sqf"

Also, when using the sqf call in a trigger or waypoint (global space) you must assign it to a variable to hold the return value, for example
nul=[] execVM "scriptsfolder\customscript.sqf"

The engine not locating a sound can be any of several reasons.
  • Sound not defined properly in description.ext
  • sound definition extension being different than that of actual sound extension
  • directory to sound location is incorrect
  • file name misspell during call
« Last Edit: 16 Jun 2010, 13:10:06 by savedbygrace »