Thanks to both of you. I made a stupid mistake, my logic_compare fired
the wrong output...

And thanks for the commands, they are really useful!

On 20:59, Scott Graham wrote:
> ent_messages_draw 1 is also a useful command to show input/output, which
> you can use to check the logic of the entities.
>
> On Sat, Oct 29, 2011 at 7:53 PM, Arthur Lin <[email protected]> wrote:
>
>> There can be multiple causes. The cause can be as simple as incorrect logic
>> itself. You can start by eliminating causes by using the console command
>> ent_fire, such as ent_fire <targetname of func_elevator> MoveToFloor
>> <info_elevator_floor floor name> to see if the elevators are able to freely
>> from floor to floor. If so, see how the button is behaving (settings and
>> otherwise), the logic_compare, etc. You can also use console command
>> ent_dump to see the status of your entities, such as ent_dump
>> <logic_compare
>> targetname>.
>>
>> On Sat, Oct 29, 2011 at 4:46 AM, Steffen Walliser <
>> [email protected]> wrote:
>>
>>> Hello,
>>> currently I'm working on an elevator in my map which should be able to
>>> travel up and down between two floors. At first it was made with
>>> path_tracks but somehow this was buggy so I removed it and build it
>>> again, this time with func_elevator. It works good so far, but there's
>>> still one thing I have to fix.
>>>
>>> I want the elevator to work with only one button, so I can use the
>>> "elevator_buttons" model, which looks more realistic than other things.
>>> So my thought was using a compare method:
>>> 1. the func_button triggers logic_compare
>>> 2. compare value is "2"
>>> 3. current value is set by the floor the elvator reaches: 1=bottom, 3=top
>>> 4. so the logic_compare tells the elevator where it should move to
>>>
>>> But somehow only the first use works. After I reached the top floor the
>>> elevator gets stuck there. I can press the button, but it does not
>>> travel down again. It looks like it still thinks it has to travel to the
>>> top floor, but then realizes that it already is there, so it does
>>> nothing. But I want it to travel down, of course.
>>>
>>> And I really think I've set it up correctly, but ingame it doesn't work.
>>> So I hope someone here can help and tell me what's wrong. Or maybe you
>>> know a workaround.
>>>
>>> _______________________________________________
>>> L4Dmapper mailing list
>>> [email protected]
>>> http://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper
>> _______________________________________________
>> L4Dmapper mailing list
>> [email protected]
>> http://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper
>

_______________________________________________
L4Dmapper mailing list
[email protected]
http://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper

Reply via email to