Results 1 to 3 of 3

Thread: door who move when i touch

  1. #1
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts

    door who move when i touch

    hello all
    i need to know when make a door who move when i touch
    you know what i mean?
    i move in touching the door and the door turn
    pls help me
    ORDI
    xfire: ordi37zk

  2. #2
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    Hey Mr. Alais ()

    Make a door and a trigger_multiple; this trigger is activated when a player is touching it (NOT pressing F)

    After that, go to notepad++ and write as usually you would do when you make a 'normal' door:

    PHP Code:
    main()
    {
    trig getent("trig","targetname");
    door getent("door","targetname");

    while(
    1)
    {
    trig waittill("trigger");
    door movex(20,2);
    door waittill("movedone");
    wait 2;
    door movex(-20,2);
    door waittill("movedone");
    }


  3. #3
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    ty bro
    mr actovoto

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •