Please or Register to create posts and topics.

I/O through console

Can I activate the entity through the console? For example i have a laserbeam called "laser". Can I turn it on through the console?

Look at the "ent_fire" console command, which is probably the most useful in the game. The syntax follows the form "ent_fire targetname input params". In your example "ent_fire laser turnOn" will enable the laser. You can also use the spacial targetname "!picker" to refer to the first entity under the player's crosshair, or the thing you're holding. If you bind "ent_fire !picker use" to something, whenever you trigger it it'll simulate pressing "e" or interacting with it. This lets you press pedestal buttons from far away, or grab cubes. (They can float quite a long distance to reach your hand!)

My stuff:
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]

Got it, thanks!