This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mmoalt_lib [2015/09/07 13:49] – mmoalt | mmoalt_lib [2015/09/15 11:57] (current) – mmoalt | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== ObstacleManager ===== | ===== ObstacleManager ===== | ||
| ObstacleManager.AddObstacle({\\ | ObstacleManager.AddObstacle({\\ | ||
| - | id = "" | + | name = nil, -- Required\\ |
| - | pos = "" | + | pos = nil, -- Required\\ |
| radius = 150,\\ | radius = 150,\\ | ||
| duration = 10,\\ | duration = 10,\\ | ||
| Line 11: | Line 11: | ||
| splitAngle = 45\\ | splitAngle = 45\\ | ||
| })\\ | })\\ | ||
| - | ObstacleManager.GetObstacleById(id)\\ | + | ObstacleManager.GetObstacleByName(name)\\ |
| - | ObstacleManager.RemoveObstacleById(id)\\ | + | ObstacleManager.RemoveObstacleByName(name)\\ |
| - | ObstacleManager.AddTest([id, pos, radius, duration])\\ | + | ObstacleManager.AddTest(args)\\ |
| ObstacleManager.ClearLog()\\ | ObstacleManager.ClearLog()\\ | ||
| Calls events:\\ | Calls events:\\ | ||
| - | " | + | " |
| - | " | + | " |
| - | " | + | " |
| - | " | + | " |
| " | " | ||
| + | " | ||
| + | " | ||
| ===== ChatManager ===== | ===== ChatManager ===== | ||
| Line 53: | Line 55: | ||
| EventManager.Listen(eventname, | EventManager.Listen(eventname, | ||
| EventManager.Trigger(eventname, | EventManager.Trigger(eventname, | ||
| + | |||
| + | ===== Quaternion ===== | ||
| + | Quaternion.Create([x, | ||
| + | Quaternion: | ||
| + | Quaternion: | ||
| + | Quaternion: | ||