Log in

View Full Version : Some proposals from me!



Ohman
03-04-2013, 10:47 AM
I have some ideas on improvements/features that I would like to see, will post the ideas followed by usage examples:

LUA Scripting Improvements

alert() - Add optional parameter "path" for scripted alarms.

if monstersOnScreen() >= 4 then alert("C:\Windows\Media\notify.wav")
elseif skulledPlayerOnScreen() then alert("Player Detected.wav")
elseif targetHealed() then alert() end

Self.HasFlag(flag)

if Self.HasFlag(PARALYZED) and Self.HealthPercent() >= 80 then Self.Say("utani hur")
else Self.Say("exura gran") end

new GETTER/SETTERS for Walker/Targeting/Looter/Special Areas

if creaturesOnScreen()<=1 and Targeting.Approach("Dragon Lord") == 3SQM_DIAGONAL then Targeting.Approach("Dragon Lord") = DIAGONAL end
if creaturesOnScreen()>=4 and Looter.LootFirst = true then Looter.LootFirst = false end
if labelname == "abc" then SpecialAreas.Enable("Special Area #13") end


more to come.

Ungoliant
03-04-2013, 12:56 PM
Pretty sweet proposals.

Signed? =0

krille09
03-05-2013, 07:40 PM
Agreed, I think elfbot had something like this, was awesome :D

Hendy
03-05-2013, 10:28 PM
I think you can already do a custom alarm by adding it to the sounds folder.