View Full Version : Player on screen > go to label
ganth1
07-05-2016, 11:31 AM
Hello Guys.
As in topic, does anyone have script that force bot to go for a label (e.g. "Leave") if player detected?
Is is even possible to create? :confused:
Trykon
07-05-2016, 12:57 PM
When you start hunt set
CheckForPlayer = true
Leave = false
Then create module that do:
If CheckForPlayer then
Local playerAmount = 0
For _, _ in iplayers() do
PlayerAmount = playerAmount + 1
End
If playerAmount > 0 then
Leave = true
End
End
And on checker in hunting add
If Leave then
GotoLabel ("leave")
End
This should work more less, will leave on next hunt supply check, if you have any idea about lua... this is pseudo coee and will not work if you hust copy and paste it
Sorry I am on the phone so this way I will not give you full script.
Anyway it will work differently for scripts from different scripters. Different label names etc.
ganth1
07-05-2016, 07:50 PM
I appreciate your help, but to be onest i cant handle this by myself :(
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.