Executing Script through CfgInterActionMenu ?

2 posts in this topic


I'm trying to write a script in which if a player is near a weed plant, he will harvest the weed. But is it even possible to execute a script thgrough the CfgInterActionMenu ?

My interaction menu looks like this


    class Weed
        targetType = 2;
        target = "CUP_p_fiberPlant_EP1";

        class Actions 
            class HarvestWeed: ExileAbstractAction
                title = "Harvest the Weed";
                condition = "('Exile_Item_Knife' in (magazines player))";
                action = "Custom\weed.sqf";

I can see the scroll action but I get a script not found when trying to execute it. Any help is appreciated ^^


Share this post

Link to post
Share on other sites

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.