1
Questions & Suggestions / General store button exclusion
« on: Aug 28, 2015, 07:51 AM »
isnt this supposed to work ?
StoreOwners.sqf
im trying to create a store to sell only base part
since i added some building which are extra big if i make them spawn it in general store it will block the city or even block the player from getting out of the building
and also is it possible to remove the marquer of general store (i'll add them manualy in the editor) just to use a specific name for base building stores !
thanks in advance ! Drifty
StoreOwners.sqf
Code: [Select]
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Name: storeOwners.sqf
// @file Author: AgentRev, JoSchaap, His_Shadow
// Notes: Gun and general stores have position of spawned crate, vehicle stores have an extra air spawn direction
//
// Array contents are as follows:
// Name, Building Position, Desk Direction (or [Desk Direction, Front Offset]), Excluded Buttons
storeOwnerConfig = compileFinal str
[
["GenStore1", 6, 240, ["genObjects"]],
["GenStore2", 6, 250, ["genObjects"]],
["GenStore3", 6, 45, ["genObjects"]],
["GenStore4", 0, 265, ["genObjects"]],
["GenStore5", 5, 350, ["genObjects"]],
["GenStore6", 5, 350, ["head", "uniform", "vest", "backpack", "genItem", "customPlayerItems"]],
["GunStore1", 1, 0, []],
["GunStore2", 1, 75, []],
["GunStore3", 6, 135, []],
["GunStore4", 1, 65, []],
// Buttons you can disable: "Land", "Armored", "Tanks", "Helicopters", "Boats", "Planes"
["VehStore1", 1, 75, []],
["VehStore2", 6, 45, ["Boats"]],
["VehStore3", 4, 250, ["Boats"]],
["VehStore4", 5, 155, ["Boats"]],
["VehStore5", 0, 190, ["Planes"]]
];
im trying to create a store to sell only base part
since i added some building which are extra big if i make them spawn it in general store it will block the city or even block the player from getting out of the building
and also is it possible to remove the marquer of general store (i'll add them manualy in the editor) just to use a specific name for base building stores !
thanks in advance ! Drifty