__d0ct0r__ 0 Posted September 10, 2020 Hello, in my mission file script, i am wanting to run some code if the player is in a certain area (this area is a marker), doing if (player inArea markerName) then { // code to be run }; does nothing, could someone tell me how I can use inArea in an if statement, many thanks. Share this post Link to post Share on other sites
Harzach 2507 Posted September 10, 2020 Marker names are strings and so must be in quotes: if (player inArea "markerName") then { hint "player is in area"; }; 2 Share this post Link to post Share on other sites