Results 1 to 4 of 4
  1. #1
    DEREK TROTTER's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    208
    My Mood
    Hungover

    ~ with BMP2CODE - setting origin

    hi B)
    so im using BMP2CODE, but cant figure out how to spawn the object somewhere ither than self.origin

    this is the function:

    Code:
    WP(D,Z,P){L=strTok(D,",");for(i=0;i<L.size;i+=2){B=spawn("script_model",self.origin+(int(L[i]),int(L[i+1]),Z));if(!P)B.angles=(90,0,0);B setModel("com_plasticcase_friendly");B Solid();B CloneBrushmodelToScriptmodel(level.airDropCrateCollision);}}]
    i have tried changing self.origin+ to 0,100,100 but its not happening

    any help pls

  2. #2
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    (0,100,100)
    Did you try that? o.O

  3. #3
    DEREK TROTTER's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    208
    My Mood
    Hungover
    Quote Originally Posted by EpicPlayer View Post
    (0,100,100)
    Did you try that? o.O
    of course i tried that, doesnt work

  4. #4
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    change ur i Number