Grayz_lost

No option to raise or lower draw bridge

3 posts in this topic

Hi ,..

so ive got no option to raise or lower draw bridge i have in my  .. class CfgInteractionMenus .. what am i missing ?  

 

    class Drawbridge
    {
        targetType = 2;
        target = "Exile_Construction_WoodDrawBridge_Abstract";

        class Actions
        {
            class Lower: ExileAbstractAction
            {
                title = "Lower";
                condition = "ExileClientInteractionObject call ExileClient_object_construction_openBridgeShow";
                action = "ExileClientInteractionObject animateSource ['DrawBridge_Source', 0];";
            };
            
            class Raise: ExileAbstractAction
            {
                title = "Raise";
                condition = "((ExileClientInteractionObject animationSourcePhase 'DrawBridge_Source') < 0.5)";
                action = "ExileClientInteractionObject animateSource ['DrawBridge_Source', 2]";
            };
        };
    };

Share this post


Link to post
Share on other sites

          target = "Exile_Construction_WoodDrawBridge_Abstract";

change it to this below

    target = "Exile_Construction_Abstract_DrawBridge";

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.