Browsing Wiremod's section
← Back to ACE
🔁

Mirrored article

This page is synced automatically from the wiremod/wire GitHub wiki (last synced 1 hour ago). Edits made here will be overwritten on the next sync — contribute on the source wiki instead.

Expression 2

📁 ControlUpdated 1 hour ago•0 views
This wiki has been created so that everyone with a github account can contribute to the documentation, so please do. If what you are looking for isn't listed here, use the subreddit or the Discord ser

This wiki has been created so that everyone with a github account can contribute to the documentation, so please do. If what you are looking for isn't listed here, use the subreddit or the Discord server .

Learn E2

- Syntax - Start here to learn E2's syntax

- Directives - Learn what directives like @strict , @autoupdate , @trigger and @persist do

- Editor - See editor shortcuts

- Guides & Tooling - Guides and tools to help with writing E2

Console Commands

Command
Description

wire_expression2_model
Manually changes the expression's model

wire_expression2_reload
Reloads all E2 extensions, useful for debugging your own extensions. Keep in mind that client-side files will be taken from gmod's cache in multi-player mode.

wire_expression2_debug 0/1
Toggles debug mode, which shows info that might be useful for the developers. You need to do "wire_expression2_reload" after changing for this to have any effect.

wire_expression2_extension_enable
Enables the specified extension.

wire_expression2_extension_disable
Disables the specified extension.

wire_expression2_unlimited 0/1
Enables/disables performance limiting.

Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the Prop-core extension, which is disabled by default.

Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect.

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.