Leigham Posted January 19, 2015 Report Share Posted January 19, 2015 Right, weve got so far as to making a base one in editor and it works but trying to change the positions and im getting : Error context position[]={13326.5,0,14515.2}; any ideas on whats up with it, once its done i will be releasing a Cherno, and Altis Files :D # EDIT we have a start, the map markers are now showing up, but the triggers(sensors) are not working ? any ideas ] Link to comment Share on other sites More sharing options...
axeman Posted January 19, 2015 Report Share Posted January 19, 2015 Y and z are swapped in your world space coords . Z should be zero (height)? Assuming you are translating to sqf. Link to comment Share on other sites More sharing options...
Leigham Posted January 19, 2015 Author Report Share Posted January 19, 2015 EDIT# we have a start, the map markers are now showing up, but the triggers(sensors) are not working ? any ideas ] class Sensors { items= 2; class Item0 { position[]={13326.511,0.111,14515.211}; a=150; b=150; activationBy="ANY"; repeating=1; interruptable=1; age="UNKNOWN"; type="PRESENT"; name="safezonetentry1"; expActiv="player allowdamage false;"; class Effects { sound="Alarm"; voice="suicide2"; track="LeadTrack03_F"; titleType="TEXT"; title="You are now in a safezone"; }; }; class Item1 { position[]={13326.511,0.111,14515.211}; a=150; b=150; activationBy="ANY"; repeating=1; interruptable=1; type="NOT PRESENT"; age="UNKNOWN"; name="safezoneexit1"; expActiv="player allowdamage true;"; class Effects { sound="Alarm" titleType="TEXT"; title="GodMode Disabled"; }; }; }; Link to comment Share on other sites More sharing options...
Leigham Posted January 19, 2015 Author Report Share Posted January 19, 2015 Read Op :D Link to comment Share on other sites More sharing options...
Teax Posted January 19, 2015 Report Share Posted January 19, 2015 Greetings, have the same problem on my server. Noticed today that the sensor worked (marker and text) but the godmode didnt work for players, only admins. example for one trader class Sensors { items=1; class Item0 // Center Trader { position[]={13330.902,2.288,14528.784}; a=350; b=350; angle=-88.355904; activationBy="ANY"; repeating=1; interruptable=1; type="SWITCH"; age="UNKNOWN"; expCond="this && (local player) && (vehicle player in thisList)"; expActiv="hint parseText format[""<t align=center' size='2.0'>Coast Trader!</t><br/><br/>Happy Trading!"]; player allowDamage false;"; expDesactiv="hint parseText format[""<t align=center' size='2.0'>Warning!</t><br/><br/>Beware of Bandits!<br/>"]; player allowDamage true;"; class Effects { }; }; }; Link to comment Share on other sites More sharing options...
Leigham Posted January 19, 2015 Author Report Share Posted January 19, 2015 ok, so im working on a script that executes server side, in the @epochHive addons folder, part of its working, just finished off the last few touches Link to comment Share on other sites More sharing options...
phenomax Posted January 20, 2015 Report Share Posted January 20, 2015 I m looking forward to use your script, Leigham :) In general we would also be interested in creating safe zones around the 3 spawnpoints. Are the sensors working for you now? And can a safe zone in a circle of 600 metres around the trader be solved by sensors? I´d imagine that sensors will get activated when you walk over them. But what if you want to protect an area like our circle? Any suggestions? greetz Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now