Jump to content

snniper

Member
  • Content Count

    27
  • Joined

  • Last visited

  • Medals

Posts posted by snniper


  1. If you're doing a classic shop system, why use triggers? Because addAction in combination with an object like a laptop or whatever is much more reliable considering that you will have access to the caller via _this select 1 in the script that's executed, and triggers are just a nuisance to work with in your case. You have lists like list trigger and such, but filtering out a single unit from it when multiple units are guaranteed to be inside of it is really just adding unnecessary work, plus you'd have to consider locality issues as list only has local effect.

    I am doing what your suggesting with the addaction but I had this trigger setup to tell them if they where the wrong rank or not when they entered the zone but now after reading what you guys said its kind of point less to have this trigger and I think I will just add another add action saying that they are the wrong rank.

     

    Thank you for your responses 


  2. Hi all, after searching around for an answer I have failed to find one so I decided to ask,Im trying to make a Tanoa mission that has to do with being the right rank to access a store and I am having a trouble with a trigger.  The trigger is to inform a player that they are not the right rank for the store but I cant find a command other than thisTrigger to see what is triggering the trigger.  Im trying to find out what is trigger the trigger because Im comparing its rank ingame to what the store needs to wether it gets access or not. And when I do this I feel like its not grabbing the player that triggers it.

    //What I Have in the trigger
    nul = [thisTrigger,1] execVM "HG_MSS\checking.sqf";
    
    //What is in the checking.sqf
    _math=_this select 0;
    _num=_this select 1;
    _compare=rankId _math;
    if (_compare<=_num) then
    {
    	hint "You are not a high enough rank to use this shop";
    }
    else
    {
    	hint "Welcome to the shop";
    };
    
    

    Thanks In advance.

    -Snniper


  3. Hello I see To have a Problem With Arma2NET mysql plugin when ever I run it on the server it crashed upon join I know its that mod because I have disabled it and it has work fine(by fine I meen I can get it with out it crashing). Any help is welcome

    Edit: The server gets done reading the mission then crashes

    ---------- Post added at 21:34 ---------- Previous post was at 19:45 ----------

    Ok now Im stuck At Contacting server for player information


  4. Thank you I will try that now

    ---------- Post added at 15:37 ---------- Previous post was at 15:24 ----------

    Thank you I will try that now

    ---------- Post added at 15:37 ---------- Previous post was at 15:37 ----------

    So I did that and now I'm trying to find the key/ button that triggers it

    ---------- Post added at 15:52 ---------- Previous post was at 15:37 ----------

    Never mind

×