info_command_spawn is a specialised version of info_command. It automatically sends the command contained in the message key to players as soon as they spawn. As of Quoth 2.2 you no longer need to terminate commands with \n, by default the mod does this for you. If you need the old behaviour back, apply spawnflag 8 to the entity.

It also always has the RESEND_ON_LOAD flag, so the command in message will be re-sent to players when they load a save game or when they connect to a co-op server mid game, unless the command is superseded by another info_command with the flag. See the environment variables page for more information.

Only one info_command_spawn message is allowed per map. To send multiple commands, use a single entity with a semicolon-separated list of commands.

<-Back to the tutorial


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.