ED Forums - View Single Post - MIssion Scripting Tools (Mist)- enhancing mission scripting Lua
View Single Post
Old 05-29-2018, 06:06 AM   #1361
Grimes
ED Testers Team
 
Grimes's Avatar
 
Join Date: Jan 2006
Location: Black Mesa
Posts: 7,656
Default

mist.teleportToPoint

So something like this.

Code:
local vars = {
 groupName = 'whatever'
 point = Unit.getByName('player'):getPoint()
 action = 'respawn'
 radius = 1000
}
You can also do it directly via mist.dynAdd() if you have a table of the objects you want and wanna generate the coordinates yourself.
__________________
You can only tie the world record for lowest flight.
Current Projects: Scripting Wiki, Something...
Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD for DCS 1.5/2.0, IADScript, Mission Editing Wiki!, Mission Building Forum
Grimes is offline   Reply With Quote