• 0
Falcon911

New setVariable

Question

OK... Question.. I know eden is not supported by you all as of yet. But I'm at a loss on what exactly to place it. 

Below is the pic of a trader (most of them all have the same attributes like below). 

Where do I set

_trader setVariable ["ExileTraderType", "Exile_Trader_Food"];

on the editor? 

or do I just place all of the calls in the initplayerlocal.sqf  once?

Confused and hopefully you have time to assist..

 

56dcdaa8f17f0_2016-03-0620_37_11-Arma3_D

This is the code in the mission.sqm for the above mentioned trader. 

class Item1
				{
					dataType="Object";
					class PositionInfo
					{
						position[]={1113.681,15.589622,418.70398};
						angles[]={0,4.7152858,0};
					};
					side="Independent";
					flags=1;
					class Attributes
					{
						init="call ExileClient_object_trader_create;";
						name="ExileTraderType";
					};
					id=1265;
					type="Exile_Trader_SpecialOperations";
					class CustomAttributes
					{
						class Attribute0
						{
							property="allowDamage";
							expression="_this allowdamage _value;";
							class Value
							{
								class data
								{
									class type
									{
										type[]=
										{
											"BOOL"
										};
									};
									value=0;
								};
							};
						};
						class Attribute1
						{
							property="enableSimulation";
							expression="if !(is3DEN) then {_this enablesimulation _value;};";
							class Value
							{
								class data
								{
									class type
									{
										type[]=
										{
											"BOOL"
										};
									};
									value=0;
								};
							};
						};
						class Attribute2
						{
							property="enableStamina";
							expression="_this enablestamina _value;";
							class Value
							{
								class data
								{
									class type
									{
										type[]=
										{
											"BOOL"
										};
									};
									value=0;
								};
							};
						};
						nAttributes=3;
					};
				};

 

Share this post


Link to post
Share on other sites

1 answer to this question

  • 1

We really have no experience with Eden yet. There simply is no need for us to change our working system. 

I strongly advice to not place the traders inside Eden, as this will affect how they are spawned. You might miss a piece of code or a setting and totally screw everything up with that. Even if Eden seems beautiful, you are left alone with that as of now. 

We will probably never use it, as it has no real advantage for us and there is no need to change a working way of doing that.

3 people like this

Share this post


Link to post
Share on other sites
Advertisement

  • Recently Browsing   0 members

    No registered users viewing this page.