Sign in to follow this  
WyBrator

Simple Move Crate "Ammo Box"

1 post in this topic

Hi guys I made a simple Move Crate or ammo box script for my server Works Great No sudden deaths with the crates jumping up killing you or blown up cars "Yet"

However just need a little help Setting the Conditions I have no Idea how to do that yet... please look at the following explanation.

WBV_Crate_list.hpp

Spoiler

class CrateBox1
    {
        targetType = 2;
        target = "Box_IND_Ammo_F";

        class Actions
        {
            class Pickup: ExileAbstractAction
            {
                title = "Pickup";

                condition = "only show option if no Crate is attachedto",
                action = "_this call WBV_Create_Pickup";
            }
            
            class Place: ExileAbstractAction
            { 
                title = "Place";

                condition = "Only show opption if there is a crate attachedto";
                action = "_this call WBV_Crate_Place";
            };
        };
    };

 

Any assistance would be greatly appreciated.

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.