Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

use spawn name as default simulation name #49

Open
FrMo opened this issue Apr 2, 2012 · 1 comment
Open

use spawn name as default simulation name #49

FrMo opened this issue Apr 2, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@FrMo
Copy link
Collaborator

FrMo commented Apr 2, 2012

(just as a reminder to myself :-))

The "simulation name" (state.fileName) is normally empty. It would be easy to fill it with the script name when spawning (i.e. "negative-collision").

  • add a new LUA command simName(string), that copies its argument into state.fileName
    (but need to make sure the name does not contain blanks and other forbidden chars)
  • add a line to default.gravitspawn:
    simName(scripts[r])
  • (maybe) this name should also be used when doing screenshots
@FrMo
Copy link
Collaborator Author

FrMo commented Feb 17, 2013

new LUA command: logName(script)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant