Typemaps and particles

Typemaps and particles

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Typemaps and particles

Post by AF »

In spring when we do dust trails on units no regard is taken to the ground. There'll be brown dust trails on a red planet/metallic platform/snow.

Thus can the terrain type from the typemap be detected via lua?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

Spring.GetGroundInfo(x, z)
Post Reply

Return to “Lua Scripts”