PDA

View Full Version : if at label (enable player detected)



Daffik
03-24-2014, 02:26 PM
basically as the title states what i need help with is creating a script that enables player detected when at label and the to disable player detected at another label.
but im not quite sure what the text would be..

if (labelName == "enable-player-detected") then
Walker.ConditionalGoto((Self.EnablePlayerDetected) )


if anyone has any ideas please let me know

thanks in advance
Daffik

Paskudek
03-27-2014, 06:23 PM
Im not sure if u r still intrested but u cant enable/disable player detected alarm with lua script. U could make script that would play alert() when a player is on the screen by using iplayers loop. U can read more about this in this thread http://forums.xenobot.net/showthread.php?24016-Player-Detected.