Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
doomnet

Syntax problem difference between editor and sqf files ?!

Recommended Posts

Hi

what is the right syntax in init field of vehicle, or in trigger activation field ?
i have this that i cannot save, i got message in EDEN saying missing something, i google it but cannot find an answer tried many different syntax

this is wrong for on Activation field of trigger
if (isServer) then {veh1 hideGlobalObject false}

also this is wrong too

if (isServer) then {veh1 hideGlobalObject false};

 

this is wrong for in init field of vehicle

 

if (isServer) then {this hideGlobalObject false}

also this is wrong too

if (isServer) then {this hideGlobalObject false};

 

thanks for helping me!

Share this post


Link to post
Share on other sites

Have you tried:

if (isServer) then {this hideGlobalObject false;};
  • Like 1

Share this post


Link to post
Share on other sites

Yes had tried this before also don't work ! same result

Share this post


Link to post
Share on other sites

Can you screenshot the error? Or paste what it says here.

Share this post


Link to post
Share on other sites

this is working

if (isServer) then {

    veh1 hideObjectGlobal false;

};

Share this post


Link to post
Share on other sites

hideGlobalObject ==> should be ==> hideObjectGlobal

Damn brain autocorrect....

  • Like 1

Share this post


Link to post
Share on other sites

yes no fucking brains i have ! i don't understand nothing sometimes in this arma scripting

Share this post


Link to post
Share on other sites

×