Jump to content

SilverOcircle

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by SilverOcircle

  1. can somebody explain the difference between

    _unitbs = "ns_bloodsucker" createUnit [_Pos, group sefik,"",1,"PRIVATE"];
    and
    _unitbs = group sefik createUnit ["ns_bloodsucker", _Pos, [], 0, "CAN COLLIDE"];

    the reason is when i spawn the bloodsucker with the first code then i get the expression error:

    Error in expression <deletevehicle _unitbs;

    true;>
      Error position: <_unitbs;

    true;>
      Error Undefined variable in expression: _unitbs


    when i spawn it with the second code then i m able to delete them without any errors but the AI is standing around and doing nothing.

  2. Hello everyone,

    maybe somebody can help me:
    I am running a dayz epoch server and want to spawn the bloodsuckers.
    I am using the namalsk crisis addon and run the mutants_main.fsm from the init.
    Everything is working fine with exception the deletevehicle section.

    the States in the FSM are looking like this:

    Spoiler

    1. Start

    _type = _this select 0;
    _Pos = _this select 1;
    _SpawnRadius = _this select 2;
    _GroupMarker = _this select 3;
    _agent = "";

    2. True Condition

    3. Spawn State
    "ns_bloodsucker" createUnit [_Pos, group sefik, "_agent = this;",1,"PRIVATE"];

    4. True Condition
    (player distance (getmarkerpos _GroupMarker) > _SpawnRadius);

    --------- to this point everything works great

    5. End State
    deletevehicle _agent;
    true;

    My client.rpt is showing the following Error:

    Spoiler

    Error in expression <deletevehicle _agent;
    true;>
      Error position: <deletevehicle _agent;
    true;>
      Error deletevehicle: Type String, expected Object

    Any ideas how to delete the unit?

    Thank you vey much..

  3. hi steamroller, i recieve "Resource title playerStatusGUIcustom not found".
    This is the part in the description:
     

    class Header
    {
     gameType = COOP;            //DM, Team, Coop, ...
     minPlayers = 1;             //min # of players the mission supports
     maxPlayers = 100;            //Max # of players the mission supports
    };
    
    aiKills = 1;
    diagRadio = 1;
    diagHit = 1;
    
    class RscPictureGUI
    {
    	access = 0;
    	type = 0;
    	idc = -1;
    	colorBackground[] = {0,0,0,0};
    	colorText[] = {0.38,0.63,0.26,0.75};
    	font = "TahomaB";
    	sizeEx = 0;
    	lineSpacing = 0;
    	text = "";
    	style = "0x30 + 0x100";
    	x = 0;
    	y = 0;
    	w = 0.2;
    	h = 0.15;
    };
    
    class RscStructuredText10
    {
    	access = 0;
    	type = 0;
    	idc = -1;
    	colorBackground[] = {0,0,0,0};
    	colorText[] = {0.38,0.63,0.26,0.75};
    	font = "TahomaB";
    	sizeEx = 0;
    	lineSpacing = 0;
    	text = "";
    	style = "0x30 + 0x100";
    	x = 0;
    	y = 0;
    	w = 0.2;
    	h = 0.15;
    };
    #include "custom\GUI\GUIdefines.hpp" 
    
    
    class CfgSounds
    

    When i leave away "3 cutRsc ["playerStatusGUIcustom", "PLAIN",0];" in the Position State then its working but without the backrounds.

×
×
  • Create New...