Browsing Wiremod's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2023-08-29. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

@persist equivalent in Starfall

💻 Expression 2Updated 2 days ago•0 views
There is none - @persist exists in E2 because the whole script refreshes on each run; Starfall doesn't do that so variables persist normally. Use 'local' for sc…

What's the Starfall equivalent of E2's @persist when porting a script

There is none - @persist exists in E2 because the whole script refreshes on each run; Starfall doesn't do that so variables persist normally. Use 'local' for scoping as usual; globals otherwise.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.