Announcement

Collapse
No announcement yet.

Pushable Blocks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pushable Blocks

    Greetings everyone.

    Here is the scripts needed to make a block you can push on the game with having to search it. All you do is touch it.
    First make three blank scripts and name them: Push Block 1, Push Block 2, Push Block 3.
    When you got that done go to push Block 1 script and open it. Enter these as followed and make sure to follow the numbers very carefully.

    Push Block 1

    000 Data: Game Info: Load
    001 Event Control: Event Info Load
    002 Script Branch: Condition: Variable: Party: Dir = 0(Fixed)
    003 Script Branch: Condition: Variable: Event: X = 14
    004 Script Branch: Condition: Variable: Event: Y = 2
    005 Script Control: Force Script End
    006 Script: Condition End
    007 Script: Condition End
    008 Script Branch: Condition: Variable: Event: X = 18
    009 Script Branch: Condition: Variable: Event: Y = 3
    010 Script Control: Force Script End
    011 Script: Condition End
    012 Script: Condition End
    013 Script: Condition End
    014 Script Branch: Condition: Variable: Party: Dir = 6
    015 Script Branch: Condition: Variable: Event: X =14
    016 Script Branch: Condition: Varialbe: Event: Y =3
    017 Script Control: Force Script End
    018 Script: Condition End
    019 Script: Condition End
    020 Script: Conditon End
    021 Script Control: Apply Together
    022 Script: Call [Push Block 2]
    023 Script: Call [Push Block 3]
    024 Script Control: Apply in Order

    Close out this script and update data. Go into Push Block 2 script.

    Push Block 2

    000 Script Branch: Condition: Variable: Party: Dir = 0(Fixed)
    001 Party: Direction Move: East 1Step(s) Facing=Movement Speed: Normal
    002 Script: Conditon End
    003 Script Branch: Condition: Variable: Party: Dir =2
    004 Party: Direction Move: South 1Step(s) Facing=Movement Speed:Normal
    005 Script: Condition End
    006 Script Branch: Condition: Variable: Party: Dir = 4
    007 Party: Direction Move: West 1Step(s) Facing=Movement Speed: Normal
    008 Script: Condition End
    009 Script Branch: Condition: Variable: Party: Dir = 6
    010 Party: Direction Move: South 1 Step(s) Facing=Movement Speed: Normal
    011 Script: Condition End

    Close out of this script and update data. Go into Push Block 3 Script.

    000 Script Branch: Conditon: Variable: Party: Dir = 0(Fixed)
    001 Event Move: Direction Move: East 1 Step(s) Facing=Move Per Step 10F
    002 Script: Condition End
    003 Script Branch: Condition: Variable: Party: Dir = 2
    004 Event Move: Direction Move: South 1Step(s) Facing=Move Per Step 10F
    005 Script: Condition End
    006 Script Branch: Condition: Variable: Party: Dir = 4
    007 Event Move: Direction Move: West 1 Step(s) Facing=Move Per Step 10F
    008 Script: Conditon End
    009 Script Branch: Condition: Variable: Party: Dir = 6
    010 Event Move: Direction Move: North 1 Step(s) Facing=Move Per Step 10F
    011 Script: Condition End

    Close this script and update data. Now go to events. Create an event called Push Block. Use and object model (Crate will work for now) and at the very bottom of the event screen change the event to touch and below that put the Push Block 1 Script. Now time to test it out. Put this event in a made event placement and go test it. When you "push on the crate" it will move.

    #2
    Re: Pushable Blocks

    Originally posted by vollis View Post
    Greetings everyone.

    Here is the scripts needed to make a block you can push on the game with having to search it. All you do is touch it.
    First make three blank scripts and name them: Push Block 1, Push Block 2, Push Block 3.
    When you got that done go to push Block 1 script and open it. Enter these as followed and make sure to follow the numbers very carefully.

    Push Block 1

    000 Data: Game Info: Load
    001 Event Control: Event Info Load
    002 Script Branch: Condition: Variable: Party: Dir = 0(Fixed)
    003 Script Branch: Condition: Variable: Event: X = 14
    004 Script Branch: Condition: Variable: Event: Y = 2
    005 Script Control: Force Script End
    006 Script: Condition End
    007 Script: Condition End
    008 Script Branch: Condition: Variable: Event: X = 18
    009 Script Branch: Condition: Variable: Event: Y = 3
    010 Script Control: Force Script End
    011 Script: Condition End
    012 Script: Condition End
    013 Script: Condition End
    014 Script Branch: Condition: Variable: Party: Dir = 6
    015 Script Branch: Condition: Variable: Event: X =14
    016 Script Branch: Condition: Varialbe: Event: Y =3
    017 Script Control: Force Script End
    018 Script: Condition End
    019 Script: Condition End
    020 Script: Conditon End
    021 Script Control: Apply Together
    022 Script: Call [Push Block 2]
    023 Script: Call [Push Block 3]
    024 Script Control: Apply in Order

    Close out this script and update data. Go into Push Block 2 script.

    Push Block 2

    000 Script Branch: Condition: Variable: Party: Dir = 0(Fixed)
    001 Party: Direction Move: East 1Step(s) Facing=Movement Speed: Normal
    002 Script: Conditon End
    003 Script Branch: Condition: Variable: Party: Dir =2
    004 Party: Direction Move: South 1Step(s) Facing=Movement Speed:Normal
    005 Script: Condition End
    006 Script Branch: Condition: Variable: Party: Dir = 4
    007 Party: Direction Move: West 1Step(s) Facing=Movement Speed: Normal
    008 Script: Condition End
    009 Script Branch: Condition: Variable: Party: Dir = 6
    010 Party: Direction Move: South 1 Step(s) Facing=Movement Speed: Normal
    011 Script: Condition End

    Close out of this script and update data. Go into Push Block 3 Script.

    000 Script Branch: Conditon: Variable: Party: Dir = 0(Fixed)
    001 Event Move: Direction Move: East 1 Step(s) Facing=Move Per Step 10F
    002 Script: Condition End
    003 Script Branch: Condition: Variable: Party: Dir = 2
    004 Event Move: Direction Move: South 1Step(s) Facing=Move Per Step 10F
    005 Script: Condition End
    006 Script Branch: Condition: Variable: Party: Dir = 4
    007 Event Move: Direction Move: West 1 Step(s) Facing=Move Per Step 10F
    008 Script: Conditon End
    009 Script Branch: Condition: Variable: Party: Dir = 6
    010 Event Move: Direction Move: North 1 Step(s) Facing=Move Per Step 10F
    011 Script: Condition End

    Close this script and update data. Now go to events. Create an event called Push Block. Use and object model (Crate will work for now) and at the very bottom of the event screen change the event to touch and below that put the Push Block 1 Script. Now time to test it out. Put this event in a made event placement and go test it. When you "push on the crate" it will move.

    why wast time on that when you can just do this script by nash7777<- i think is 777 but i added the etc 7)


    Common Push Block




    Game Info: Load Game Info
    Script Branch: [Party Direction]=0
    ~Event Control: Move Event East 1 30f
    Script Branch End
    Script Branch: [Party Direction]=2
    ~Event Control: Move Event South 1 30f
    Script Branch End
    Script Branch: [Party Direction]=4
    ~Event Control: Move Event West 1 30f
    Script Branch End
    Script Branch: [Party Direction]=6
    ~Event Control: Move Event North 1 30f
    Script Branch End

    (you may option to be able to push at diagnols as well)


    and you can make one script and put it in 500 or more blocks and the all move indivsuly. also a touch event
    Last edited by chigoo; 02-25-2008, 11:50 PM.
    thank you if you help me, dont thank you if you never helped me

    Comment


      #3
      Re: Pushable Blocks

      Man, I had a whole game based aroudn pushing blocks. I am not sure, but I think I deleted it.

      I actually think I had an event like that chigoo.

      Comment

      Working...
      X