SilverOcircle
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by SilverOcircle
-
-
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:
Spoiler1. 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:
SpoilerError in expression <deletevehicle _agent;
true;>
Error position: <deletevehicle _agent;
true;>
Error deletevehicle: Type String, expected ObjectAny ideas how to delete the unit?
Thank you vey much.. -
sounds great,pls let us know!
-
Sorry my bad...
this was the problem:
class RscTitles { #include "custom\GUI\GUIdefines.hpp" };
I have had a wrong position. Now everything is working. Is there a way to do the same with the gear-menu?
-
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.
DeleteVehicle Bloodsucker
in Scripting
Posted
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.