Praetorian – User talk
Bedtime here in Austria, Central Europe. 4:30am surely isn't the best time to be awake. If you don't get your kickoff problems resolved this (=your) day, then we can dig into it tomorrow/today (well... in ~20 hours or so). -- Manny 04:19, 12 May 2007 (CEST)
Oh, and as a further addendum: try to use the Preview button more often to reduce the number of times you edit your texts. Multiple edits generate significant load on the database (each revision gets stored) and spams the popular list of recent changes. Also, moderators get pissed of because of the latter reason. And you don't want the moderators to give you a mean look, do you? :) -- Manny 04:26, 12 May 2007 (CEST)
Yes thanks for this ... I will comply. LOL. Praetorian 04:48, 12 May 2007 (CEST)
Good, let's do this step by step:
- Create a new mission in Sahrani,
- Put your player somewhere,
- Save the mission as mytest,
- Open your favorite text editor (Notepad, UltraEdit, ...),
- Write:
hint "I am a script file and I have been called upon";
- Save the file in your mission root folder as test.sqf (most likely in: C:\Documents and Settings\Spartan\My Documents\ArmA Other Profiles\Praetorian\missions\mytest.sara\),
- if you're using notepad, set the file type to All files (*.*) first,
- you might want to double-check that the file actually got named test.sqf and not test.sqf.txt. You could for instance fire up the console (Run -> cmd.exe), go to the directory (cd "C:\Documents and Settings\Spartan\My Documents\ArmA Other Profiles\Praetorian\missions\mytest.sara\") and check the files (dir),
- Go back to the editor (and open your mission, if you have closed it before opening your text editor),
- Edit your player unit:
- In the initialization line write:
nil = [] execVM "test.sqf"
- In the initialization line write:
- Preview the mission and observe. I am a script file and I have been called upon should appear in the upper left corner.
Also, these kinds of questions are perhaps better suited for ArmA editing related forums. Wikis actually ain't the best place to ask questions like these. -- Manny 15:17, 12 May 2007 (CEST)