mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
6a01291440
add server invoked looting text based feedback
9 lines
309 B
Plaintext
9 lines
309 B
Plaintext
_nearByBobbersLocal = (player nearEntities[["Bobber_EPOCH"], 12]) select {local _x};
|
|
if !(_nearByBobbersLocal isEqualTo []) then {
|
|
if ((random 100) < 50) then {
|
|
_bobber = selectRandom _nearByBobbersLocal;
|
|
_bobber setVelocity [0,-1,-10];
|
|
_bobber setVariable ["EPOCH_fishOnLine" , diag_tickTime];
|
|
};
|
|
};
|