The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Furniture - messing up and random filling
craven7 Offline
Member

Posts: 50
Threads: 8
Joined: Aug 2012
Reputation: 1
#1
Furniture - messing up and random filling

Hi

I tried to mess up furniture like in 10_daniels_room, but nothing happens when using this script:

AddBodyImpulse("chest_of_drawers_simple_1_Body_1",0,0,-3,"world");
    AddBodyImpulse("chest_of_drawers_simple_1_Body_2",0,0,-3,"world");
    
    AddBodyImpulse("chest_of_drawers_nice_1_Body_1",0,0,30,"world");
    AddBodyImpulse("chest_of_drawers_nice_1_Body_2",0,0,30,"world");
I tried other values and axes but the result is the same; nothing.

Also I wonder if there's a way to generate random stuff like books, clothes, bottles etc inside the drawers, desktop's and cabinets by script.


Thx
10-23-2012, 12:45 PM
Find


Messages In This Thread
Furniture - messing up and random filling - by craven7 - 10-23-2012, 12:45 PM



Users browsing this thread: 3 Guest(s)