Would you like to react to this message? Create an account in a few clicks or log in to continue.

    [TUT]MoveObject

    DooM
    DooM
    Moderátor


    Posts : 39
    Join date : 27.04.2011

    [TUT]MoveObject Empty [TUT]MoveObject

    Odoslať pre DooM St apríl 27, 2011 1:51 am

    Ahojte pripravil jsem si pro vas dalsi minitut tentokrat na move object.

    tak jdeme na to :
    ukazu vam to na klasicke brane

    nahoru :

    kód:
    new brana;

    do OnGameModeInit/OnFilterScriptInit podle toho co delame si dame :

    kód:
    brana = CreateObject(969,-1571.801,665.659,6.354,0.0,0.0,-90.000);

    a ted napr. do prikazu

    kód:
    if(!strcmp(cmdtext, "/brana", true))
      {
            MoveObject(brana,-1571.801,665.659,-2.354,3);
            return 1;
            }

    Vysvetlivky : MoveObject(nazev newu,X,Y,Z);


    Doufam ze vam tut pomohl:)

      Práve je So november 23, 2024 4:15 am