Please or Register to create posts and topics.

Onmapspawn fire console command?

When the map spawns, I want to fire a console command to disable some things. Like, "portal_draw_ghosting 0" :) Working on a secret project that requires it (Shhh)

Image

Wow a secret project... would it happen to be... a Map?!

Any way I think this is what you want:

1) Create logic_auto and a point_clientcommand somewhere inside your map.
2) Name the point_clientcommand approriatly.
3) Set the output for the logic_auto as follows:

OnMapSpawn > point_clientcommand (name) > Command > portal_draw_ghosting 0 (or anything else) > 0.00

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."

thanks, works great, and I said project, not just one map. Many!

Image

Don't be spilling anymore secrets. iWork just got you to elaborate on your project.

Crazy is as crazy does.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]

Eh, that wasn't a secret. I said project in the first place. You guys still have no Idea what i'm working on ;)

Image

A MapPack, what's in it I'll have no idea.

Crazy is as crazy does.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]

Well we know there arnt going to be any portal ghostings.

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."