User Tools

Site Tools

en


mmoalt_lib

mmoalt_lib

ObstacleManager

ObstacleManager.AddObstacle({
name = nil, – Required
pos = nil, – Required
radius = 150,
duration = 10,
split = false,
splitRadius = 150,
splitAngle = 45
})
ObstacleManager.GetObstacleByName(name)
ObstacleManager.RemoveObstacleByName(name)
ObstacleManager.AddTest(args)
ObstacleManager.ClearLog()

Calls events:
“obstacle.remove” – Returns the removed obstacle
“obstacle.timeout” – Returns the removed obstacle
“obstacle.add” – Returns the added obstacle
“obstacle.cleared”
“obstacle.ready”
“obstacle.stopped”
“obstacle.tick”

ChatManager

ChatManager.GetMessages(channels, lines)
ChatManager.MatchTriggers(message, triggerWords)
ChatManager.MatchName(name, channels)
ChatManager.MatchTime(timestamp, channels)
ChatManager.MatchNameAndTime(name, timestamp, channels)
ChatManager.MatchCombatLog(name, messages, channels)
ChatManager.ChannelToTable(channel, lines)
ChatManager.TimestampToTime(timestamp)
ChatManager.TimeToTimestamp(time)
ChatManager.CurrentTimeToTimestamp()

VendorManager

VendorManager.GetSellVendor([contentID])
VendorManager.GetBuyVendor([contentID])
VendorManager.MoveToAndBuy(vendor, itemlist)
VendorManager.MoveToAndSell(vendor, itemlist)
VendorManager.Sell(itemlist)
VendorManager.Buy(itemlist)

Calls events:
“vendor.bought”
“vendor.sold”
“vendor.done”
“vendor.atvendor”
“vendor.error”

EventManager

EventManager.Listen(eventname, callback)
EventManager.Trigger(eventname,[data])

Quaternion

Quaternion.Create([x,y,z,w])
Quaternion:Normalize([v])
Quaternion:Magnitude()
Quaternion:RotatePos(pos, [normalize])

mmoalt_lib.txt · Last modified: 2015/09/15 13:57 by mmoalt