yarpii

[Question] setVariable.txt

5 posts in this topic

so hello :) i had a question about how i can fix this.

Value Restriction #0 "sa_tow_ropes" = [<NULL-object>] 2:361 Exile_Car_Volha_Blue

I have been trying to add:

!"SA_Tow_Ropes"

or

!="SA_Tow_Ropes"

None of these work...

Then i try to

!"Exile_Car"

or

!="Exile_Car"

And this also don't work :(

And yes i also had them both added to my setVariable.txt

=============================================================================

I have been using these tools here we have on this community but so far it still kicks people....

i was just wondering what i am doing wrong and why... so i can do the rest myself... :)

Edited by yarpii

Share this post


Link to post
Share on other sites
Advertisement

https://github.com/sethduda/AdvancedTowing  (covers this issue in here)  and

Spoiler

The tow actions appear when looking at a vehicle, but do nothing when I select them. How do I fix that?

Most likely your server is setup with a white list for remote executions. In order to fix this, you need to modify your mission's description.ext file, adding the following CfgRemoteExec rules. If using InfiStar you should edit your cfgremoteexec.hpp instead of the description.ext file. See https://community.bistudio.com/wiki/Arma_3_Remote_Execution for more details on CfgRemoteExec.
 


class CfgRemoteExec
{
    class Functions
    {
        class SA_Simulate_Towing    { allowedTargets=0; }; 
        class SA_Attach_Tow_Ropes   { allowedTargets=0; }; 
        class SA_Take_Tow_Ropes     { allowedTargets=0; }; 
        class SA_Put_Away_Tow_Ropes { allowedTargets=0; }; 
        class SA_Pickup_Tow_Ropes   { allowedTargets=0; }; 
        class SA_Drop_Tow_Ropes     { allowedTargets=0; }; 
        class SA_Set_Owner      { allowedTargets=2; }; 
        class SA_Hint           { allowedTargets=1; }; 
        class SA_Hide_Object_Global { allowedTargets=2; }; 
    };
};

 

Also in your remoteExec.txt, add

!="sa_\w+? \[.*\]"

advance towing is cancer :)  (my opinion)

Share this post


Link to post
Share on other sites

SetVariableVal.txt
 

//new
7 "" !="true" !="false" !="[0-9]{1,2}" !="[0-9]*" !="[0-9].[0-9]*e\+[0-9]*" !="[0.0-9.9]*" !="[0-9]*e\+[0.0-9.9]*" !""antidupe" ="

SetVariable.txt
 

//new
7 "" !="sa_tow_ropes"

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.