Jump to content

Search the Community

Showing results for tags 'Notification message'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi my simple SAFE ZONE 3 STEP 1. mission.sqf sensors and markers: class Sensors { class Item0 { name = "bazar1_m"; position[] = {13321.2,-0.127439,14504.7}; a = 150; b = 150; angle = -130.966; activationBy = "ANY"; repeating = 1; interruptable = 1; age = "UNKNOWN"; expCond = "(vehicle player) in thislist;"; expActiv = "[""MidSpawn"",[""WEAPON DISABLED""]] call bis_fnc_showNotification; player allowDamage false; player addEventHandler [""HandleDamage"",{false}];"; expDesactiv = "[""EMidSpawn"",[""WEAPON ENABLED""]] call bis_fnc_showNotification; player allowDamage true; player addEventHandler [""HandleDamage"",{true}];"; class Effects{}; }; class Item1 { name = "bazar2_m"; position[] = {18454.9,0.148972,14272.8}; a = 150; b = 150; angle = -130.966; activationBy = "ANY"; repeating = 1; interruptable = 1; age = "UNKNOWN"; expCond = "(vehicle player) in thislist;"; expActiv = "[""MidSpawn"",[""WEAPON DISABLED""]] call bis_fnc_showNotification; player allowDamage false; player addEventHandler [""HandleDamage"",{false}];"; expDesactiv = "[""EMidSpawn"",[""WEAPON ENABLED""]] call bis_fnc_showNotification; player allowDamage true; player addEventHandler [""HandleDamage"",{true}];"; class Effects{}; }; class Item2 { name = "bazar3_m"; position[] = {6193.35,-0.210175,16834}; a = 150; b = 150; angle = -130.966; activationBy = "ANY"; repeating = 1; interruptable = 1; age = "UNKNOWN"; expCond = "(vehicle player) in thislist;"; expActiv = "[""MidSpawn"",[""WEAPON DISABLED""]] call bis_fnc_showNotification; player allowDamage false; player addEventHandler [""HandleDamage"",{false}];"; expDesactiv = "[""EMidSpawn"",[""WEAPON ENABLED""]] call bis_fnc_showNotification; player allowDamage true; player addEventHandler [""HandleDamage"",{true}];"; class Effects{}; }; }; Markers: class Markers { items = 9; class Item0 { position[] = {14939.9, 0.0534991, 15083.3}; name = "center"; type = "Empty"; }; class Item1 { position[] = {23600.6, 3.19, 18000.7}; name = "respawn_east"; type = "Empty"; }; class Item2 { position[] = {23600.6, 3.19, 18000.8}; name = "respawn_west"; type = "Empty"; }; class Item3 { position[]={13321.2,-0.127439,14504.7}; name="GREEN ZONE1"; markerType="ELLIPSE"; type="respawn_unknown"; colorName="ColorGUER"; a=150; b=150; }; class Item4 { position[]={6193.35,-0.210175,16834}; name="GREEN ZONE2"; markerType="ELLIPSE"; type="respawn_unknown"; colorName="ColorGUER"; a=150; b=150; }; class Item5 { position[]={18454.9,0.148972,14272.8}; name="GREEN ZONE3"; markerType="ELLIPSE"; type="respawn_unknown"; colorName="ColorGUER"; a=150; b=150; }; class Item6 { position[]={13332.2,0,14510.9}; name="centermarketmarker"; text="SAFE TRADE ZONE"; type="mil_circle"; colorName="ColorGreen"; }; class Item7 { position[]={6189.70,0,16840.2}; name="leftmarketmarker"; text="SAFE TRADE ZONE"; type="mil_circle"; colorName="ColorGreen"; }; class Item8 { position[]={18454.2,0,14272.2}; name="rightmarketmarker"; text="SAFE TRADE ZONE"; type="mil_circle"; colorName="ColorGreen"; }; }; }; STEP 2 ADD FOLDER : config and file notification.hpp and class CfgNotifications { class WestSpawn { title = "SAFE ZONE WEST"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; color[] = {0,0.8,0,1}; description = "%1"; duration = 10; priority = 0; }; class MidSpawn { title = "SAFE ZONE CENTER"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; color[] = {0,0.8,0,1}; description = "%1"; duration = 10; priority = 0; }; class EastSpawn { title = "SAFE ZONE EAST"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; color[] = {0,0.8,0,1}; description = "%1"; duration = 10; priority = 0; }; class EWestSpawn { title = "EXIT SAFE ZONE"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; color[] = {1,0.4,0,1}; // ч/б цвет description = "%1"; duration = 10; priority = 0; }; class EMidSpawn { title = "EXIT SAFE ZONE"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; color[] = {1,0.4,0,1}; // ч/б цвет description = "%1"; duration = 10; priority = 0; }; class EEastSpawn { title = "EXIT SAFE ZONE"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; color[] = {1,0.4,0,1}; // ч/б цвет description = "%1"; duration = 10; priority = 0; }; }; STEP 3: add link to notification.hpp in you description.ext #include "Config\notifications.hpp" It's all after restart you have SAFE (NO ALL DAMAG ZONE), notification message on entering and exit, and green solid markers on you map.
×
×
  • Create New...