Scripting specfullview

Scripting specfullview

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

Moderator: Moderators

Post Reply
User avatar
TechnoTone
Posts: 165
Joined: 23 Aug 2005, 22:02

Scripting specfullview

Post by TechnoTone »

The following line doesn't seem to work:

Code: Select all

Spring.SendCommands({"/specfullview 2"})
Can somebody tell me why?
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Post by quantum »

You need to remove the slash:

Code: Select all

Spring.SendCommands({"specfullview 2"})
User avatar
TechnoTone
Posts: 165
Joined: 23 Aug 2005, 22:02

Post by TechnoTone »

ah - oops. Cheers.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

On a related note: /specfullview 2 is the default state in SVN code.
Post Reply

Return to “Lua Scripts”