LogicDeLuxe
December 13th, 2000, 09:05 AM
I defined a teleporter with a radius trigger to get a teleporter that only works bellow an extra floor.
In lines.ddf:
[341]
TYPE=WALK;
ACTIVATORS=PLAYER;
RADIUS_TRIGGER=ENABLE_TAGGED;
In edge.scr:
radiustrigger 0 0 -1 0 64
tag 59
tagged_disabled
tagged_repeatable 0 0
activate_linetype 97 55
sleep
end_radiustrigger
In the map the teleporter has the line type 341 and tag 59. The teleport landing thing is in a sector with tag 55.
If I cross this line on top of the extra floor nothing seems to be happen, but the script is now running in the background and I immediately materialize at the target when I come in the specified z range anywhere in the map. The script is working correct but of cause it is not that thing I had in mind.
Had anyone done such a teleporter and figured out a solution for this problem?
In lines.ddf:
[341]
TYPE=WALK;
ACTIVATORS=PLAYER;
RADIUS_TRIGGER=ENABLE_TAGGED;
In edge.scr:
radiustrigger 0 0 -1 0 64
tag 59
tagged_disabled
tagged_repeatable 0 0
activate_linetype 97 55
sleep
end_radiustrigger
In the map the teleporter has the line type 341 and tag 59. The teleport landing thing is in a sector with tag 55.
If I cross this line on top of the extra floor nothing seems to be happen, but the script is now running in the background and I immediately materialize at the target when I come in the specified z range anywhere in the map. The script is working correct but of cause it is not that thing I had in mind.
Had anyone done such a teleporter and figured out a solution for this problem?