XxFri3ndlyxX

My traders wont show :(

5 posts in this topic

So here what i did.

http://imgur.com/a/cr9zM

You see the trader placed correctly

The output with m3eden

["Exile_Trader_Vehicle",[11066.3,4668.52,0.430341],0,"Exile_Trader_Vehicle","GreekHead_A3_08"],

My trader in initplayerlocal

///////////////////////////////////////////////////////////////////////////
// Vehicle
///////////////////////////////////////////////////////////////////////////
[
    "Exile_Trader_Vehicle", <-- Trader Type 
    "WhiteHead_11",
    ["Acts_Kore_IdleNoWeapon_loop"], <-- Trader Animation type
    [11066.3,4668.52,0.430341], <-- This is the position of the trader
    0 <- This is the orientation of the trader
]
call ExileClient_object_trader_create;

 

I then go in game and all my object loaded via pbo are there but the trader is no where to be seen :(

Share this post


Link to post
Share on other sites

Posted (edited)

Here is an example of a working trader:

_trader = 
[
    "Exile_Trader_Equipment",
    "WhiteHead_19",
    ["InBaseMoves_Lean1"],
    [4965.38,8041.59,0.629353],
    60
]
call ExileClient_object_trader_create;
_trader setVariable ["ExileTraderType", "Exile_Trader_Equipment"];

Just use this as a template for each trader and you should have working traders.

So for the one  you posted it would be:

_trader = 
[
    "Exile_Trader_Vehicle",
    "WhiteHead_11",
    ["Acts_Kore_IdleNoWeapon_loop"],
    [11066.3,4668.52,0.430341],
    0
]
call ExileClient_object_trader_create;
_trader setVariable ["ExileTraderType", "Exile_Trader_Vehicle"];

 

Edited by oSoDirty
1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

Posted (edited)

No problem, glad I could help. :) 

Edited by oSoDirty
1 person likes this

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.