Talk:Linedef type 415

From SRB2 Wiki
Jump to navigation Jump to search

Is it possible to make a sector that if one player steps in it, the script will run a CECHO message that appears on everyone's screen until all players leave that sector? –SonicMaster 00:01, 7 December 2007 (MST)

YESH. You need to make the LD Executor be continuous, then have the script do this:

CECHODURATION 1
CECHO "LOL MESSAGE GOES HERE!"

By the way, you mighgt need a ; at the end of the line that says CECHODURaTION 1. I forget. ~Kaysakado  • Talk 00:25, 10 December 2007 (UTC)

If LDEs have an "execute for all players" flag, then I'd imagine it'd be possible. --Digiku talk 16:29, 9 December 2007 (PST)

LDEs are foced to execute for all players. Go play a netgame in Mystic Realm, and have someone other than you activate the temple. It CECHOs on your screen too. ~Kaysakado  • Talk 00:32, 10 December 2007 (UTC)

Sweeeeeeeeeeet...this will be very helpful for the level I plan to make after I finish KNUX EMERALD QUEST ZONE. –SonicMaster 16:41, 9 December 2007 (PST)

Works, but it causes the message to lag when the player goes off the sector. That's not what I want for this level. And it once managed to have a glitch by adding an H (the first letter of the message) to the end of the message EDIT: on one occurrence. Perhaps I should create a Linedef Executor that would set CECHODURATION to 1 EDIT: as soon as the level loads. Is that what I should do?

EDIT: That is what I did. Level works. It still has minor lag, but it works! Thanks, guys!SonicMaster 22:45, 14 December 2007 (PST)

Oh, and Kaysakado: looking at Deathmatch Arena's lumps showed that scripts' texts are in lowercase. I forgot this; that was an issue for my first-to-third-person-view script. –SonicMaster 21:32, 12 December 2007 (PST)