Browsing PAC3's section
← Back to ACE
🔁

Mirrored article

This page is synced automatically from wiki.pac3.info (last synced 3 hours ago). Edits made here will be overwritten on the next sync — contribute on the source wiki instead.

Command

📁 PartUpdated 3 days ago•2 views
command , part Command Allows you to run console commands. Location This part can be found under: Advanced > Command You can easily find it by clicking on the sign and typing command . Usage & Example

command ,
part

Command

Allows you to run console commands.

Location

This part can be found under:

- Advanced > Command

You can easily find it by clicking on the sign and typing command .

Usage & Examples

Basic Command

Add the Command part to your outfit and type the command in the string field.

Chat message on button press

Commands can be combined with Events . This example sends a chat message after pressing a button.

Download: command_chat.txt

Properties

Generic

string

The command that you want to run.

use lua

Runs the string as client side Lua.

Requires sv_allowcslua 1

execute on wear

—

execute on show

Triggers when the part is shown. Required when used with events.

name

Custom name of the command that will be displayed in the editor. Helps with organization. You should probably keep it unique to avoid conflicts.

hide

Hides (disables) the command. All children are hidden as well.

Orientation

parent name

Parent of the command. Click on 1) to select.

1)
Right Click on to list all available options.

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.