Onmapspawn fire console command?

Avatar
BobbyJEL101
69 Posts
Posted Dec 01, 2011
When the map spawns, I want to fire a console command to disable some things. Like, "portal_draw_ghosting 0" :smile: Working on a secret project that requires it (Shhh)
Advertisement
Registered users don’t see ads! Register now!
Avatar
iWork925
1,080 Posts
Posted Dec 01, 2011
Replied 1 hour later
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

Avatar
BobbyJEL101
69 Posts
Posted Dec 01, 2011
Replied 25 minutes later
thanks, works great, and I said project, not just one map. Many!
Avatar
MasterLagger
1,695 Posts
Posted Dec 01, 2011
Replied 12 minutes later
Don't be spilling anymore secrets. iWork just got you to elaborate on your project.
Avatar
BobbyJEL101
69 Posts
Posted Dec 02, 2011
Replied 3 minutes later
Eh, that wasn't a secret. I said project in the first place. You guys still have no Idea what i'm working on :wink:
Avatar
MasterLagger
1,695 Posts
Posted Dec 02, 2011
Replied 1 minutes later
A MapPack, what's in it I'll have no idea.
Advertisement
Registered users don’t see ads! Register now!
Avatar
iWork925
1,080 Posts
Posted Dec 02, 2011
Replied 1 hour later
Well we know there arnt going to be any portal ghostings.