Solved❓ Exec a .sqf file?

Posts 1–6 of 6 · Page 1 of 1
❓ Exec a .sqf file?
Im trying to exec a .sqf script.. execVM "script.sqf" doesnt work for some reason. the script is in the main directory of dayz. any suggestions? I dont know what to do
that shit is so outdated. You need to find your own way since execVM is pretty much detected.
whut? i just want to execute a script in the editor? why am i not able to execute what ever i want offline?

- - - Updated - - -

Nevermind.. I was talking about arma. Many people are doing it over this popup window thingy where you can write in your own script, it that undetected?
Quote Originally Posted by derkrasseboy View Post
Im trying to exec a .sqf script.. execVM "script.sqf" doesnt work for some reason. the script is in the main directory of dayz. any suggestions? I dont know what to do
should work fine in editor

Example:
Code:
execvm "startup.sqf";


dont forget your semicolon
Thats not the problem.. I wrote with some guy today and he told me that im not able to execute cheat script for some reason in the editor.. i tried execVM "filename.sqf"; and it didnt work.. if i just do a simple hint or something it doesnt work either.. im really confused
you could try using call compile preprocessfile

- - - Updated - - -

or creating a display and using it for a script executor like this
Code:
createDialog 'RscDisplayPassword';buttonSetAction[1600,"call compile (ctrlText 1400)"];


- - - Updated - - -

or maybe even try loadfile not sure if that still works.

Code:
loadFile "myFunction.sqf";


- - - Updated - - -

Code:
preprocessFile "myFunction.sqf";
Code:
preprocessFileLineNumbers "myFunction.sqf";
Code:
call compile preprocessFile "myFunction.sqf";
Code:
call compile preprocessFileLineNumbers "myFunction.sqf";


- - - Updated - - -

Hopefully one of those things I listed works for you.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us