Genesis Posted May 13, 2014 Report Share Posted May 13, 2014 I want to create a message that shows up on players screens upon entering an area. example: when you enter a hemp field I want it to say Right click your machete to harvest hemp. Thanks in advance ~Genesis Link to comment Share on other sites More sharing options...
0 sjd6795 Posted May 13, 2014 Report Share Posted May 13, 2014 You can do this by going to your mission file and going to mission.sqm and adding in a new class sensor be careful when editing these because one left out } or ; will break the server you also need to change the total of number of sensors above the first listed one and sensors start at 0 and go up so if you have 0-7 you actually have 8 sensors total. It's basically the same way it tells you that you are entering a trader city etc. Examle of a sensor: class Item10 { position[]={4980.1,0.1,8280.28}; a=50; b=50; activationBy="ANY"; repeating=1; interruptable=1; age="UNKNOWN"; name="hempfield"; expCond="(vehicle player) in thislist;"; expActiv="TitleText[""Entering Hemp Field"",""PLAIN DOWN""]; //And if you'd like to activate a script to do certain things like provide god mode or protection of a certain area you can replace this with this expActiv="hempfield = [] execVM ""protection\hempfield.sqf"";"; expDesactiv="terminate dome; titleText [""Leaving Hemp Field"", ""PLAIN DOWN"", 3];"; class Effects { }; But plenty other guides out there explaining linking a script to do certain events to a sensor. Maybe this gets you in the right direction. Link to comment Share on other sites More sharing options...
Question
Genesis
I want to create a message that shows up on players screens upon entering an area.
example: when you enter a hemp field I want it to say Right click your machete to harvest hemp.
Thanks in advance
~Genesis
Link to comment
Share on other sites
1 answer to this question
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