CECHO messages

Status
Not open for further replies.
Sorry, but its absolutely necessary that I have this button(for reasons I will not go into). But I still don't understand how I use the script linedef >_<
 
Something Mint is getting at is that there's actually button sector effects. Rather, he wants you to use linedef executors manually.

And you know that scripts are just a series of console commands, right? If you can't do it with a console command, you can't do it in a script.
 
Ohhhhh... I just caught on. So it would be best if I alternately use linedefs, huh? Well I suppose I could do that - thanks to the both of you. :)
 
How this would work (assuming this is map01)

SECTOR 1
(sector button is in)
floor=1000
ceiling=3000
tag=0
anything X anything
square

SECTOR 2
(button)
floor=1050
ceiling=3000
tag=1
effect=975 (trigger linedef, floor touch)
square

SECTOR 3 (control)
(run script linedef)
triangle
floor=001
ceiling=anything

LINEDEF 1
sector 3
type=98 (trigger once)
tag=1

LINEDEF 2
sector 3
type=113
tag=0


SECTOR 4 (control)
triangle
floor=1000
ceiling=3000

LINEDEF 3 (sector 4)
type=98 (trigger once)
tag=1

LINEDEF 4 (sector 4)
type=106
tag=1
note: length of line controls how fast the button descends.


Once you've got those sectors made, create a new lump with XWE or SLumpED, and name it SCR01001. Put the script in there to be run. Somethng like this

cecho "hi"


then, it should work.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top