Using Sector_SetLink...

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
Ravick
Posts: 2002
Joined: Sun Aug 22, 2010 10:59 pm
Location: Tubarão, Brasil
Contact:

Using Sector_SetLink...

Post by Ravick »

Hi there.

So, I can't get it right. All I want is the 3D elevators's structure do not get destroyed by a player standing at the wrong position, blocking floor's path.
I've used:

Code: Select all

Sector_SetLink (154, 153, 0, 0);
...at a OPEN script to try to link then. But it as no effect. How is the right way to use such feature?

I've uploaded a part of the map I'm trying to use it, to show how I'm doing it and stuff. Please note that map's name is 'U1MX'.

Thanks in advanced! :)
User avatar
Kappes Buur
 
 
Posts: 4114
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Using Sector_SetLink...

Post by Kappes Buur »

I had a look at your map, but, sorry, could not make heads or tails out of it.

So I give you my example:
Gather the sectors to be linked with a control sector (tag5 in the animation)
Spoiler:
then use a script to move that control sector up/down when activated by a switch.
Attachments
Linked Lift Sectors.wad
(35.66 KiB) Downloaded 77 times
User avatar
Ravick
Posts: 2002
Joined: Sun Aug 22, 2010 10:59 pm
Location: Tubarão, Brasil
Contact:

Re: Using Sector_SetLink...

Post by Ravick »

I could learn how it works from your example! :D

Thank you a lot, Kappes!
Post Reply

Return to “Mapping”