Jump to content

"Crate Visited" Marker for non-AI Missions


Payden

Recommended Posts

On our ESLK PVE servers, players are not required to claim or mark missions where bandits are not present.  They are encouraged but not required to let other players know that they've looted the mission crate.

Since this caused a surprising amount of friction when a player would travel across the map only to find an empty crate, we added code to the standard missions that puts a "crate-visited" mark on the map when a player gets within 10M of the crate.  The crate may or may not be empty but at least everyone knows someone has been to the mission crate.

Here are the present and visit loops (idea lifted from the @juandayz Bombcrate mission):

  Reveal hidden contents

Here is our complete version of the Construction mission - thanks to @salival for all the help with the coding details.

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

So here is the error that I am getting

23:08:06 Error in expression <;
} forEach (_loot5 select 1);


while {_waitTime > (_currentTime - _startTime) >
23:08:06   Error position: <_waitTime > (_currentTime - _startTime) >
23:08:06   Error Undefined variable in expression: _waittime

Link to comment
Share on other sites

  On 9/3/2017 at 4:17 AM, DAKA said:

So here is the error that I am getting

23:08:06 Error in expression <;
} forEach (_loot5 select 1);


while {_waitTime > (_currentTime - _startTime) >
23:08:06   Error position: <_waitTime > (_currentTime - _startTime) >
23:08:06   Error Undefined variable in expression: _waittime

Expand  

The variable is definitely defined there, make sure you are running the correct version from the OP.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...