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.
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.