Armin A
01-31-2005, 02:32 PM
I am coding Stop Staring script that will make all reactions that are needed betwin head morphs and interface.
This is how I want reaction to see out when it is finnished.
http://upl.silentwhisper.net/uplfolders/upload6/reactionm.jpg
This is exemple from MaxScript Reference:
----------------------------------------------------------------------
-- Setup a scene
b1 = box name:"box01" pos:[-32.5492,-21.2796,0] -- create two boxes
b2 = box name:"box02" pos:[51.3844,-17.2801,0]
animateonat time 100 b1.pos = [-48.2522,167.132,0] -- animate position of one box
--
-- Assign a reactor, pick the react to object, and create reactions
cont = b2.pos.controller = position_Reactor()
--
-- you can either react to a controller
reactTo cont b1.pos.controller
-- or a node (the World Space position of the box)
-- reactTo cont b1
----------------------------------------------------------------------
I dont know hot to replace "cont=b2.pos.con..." to work witch morphs insted for poistion.
I tryed: cont = head.morpher 4 = position_Reactor()
but get this error "-- No ""="" function for ((prop Morpher $huvud) 1)"
This is how I want reaction to see out when it is finnished.
http://upl.silentwhisper.net/uplfolders/upload6/reactionm.jpg
This is exemple from MaxScript Reference:
----------------------------------------------------------------------
-- Setup a scene
b1 = box name:"box01" pos:[-32.5492,-21.2796,0] -- create two boxes
b2 = box name:"box02" pos:[51.3844,-17.2801,0]
animateonat time 100 b1.pos = [-48.2522,167.132,0] -- animate position of one box
--
-- Assign a reactor, pick the react to object, and create reactions
cont = b2.pos.controller = position_Reactor()
--
-- you can either react to a controller
reactTo cont b1.pos.controller
-- or a node (the World Space position of the box)
-- reactTo cont b1
----------------------------------------------------------------------
I dont know hot to replace "cont=b2.pos.con..." to work witch morphs insted for poistion.
I tryed: cont = head.morpher 4 = position_Reactor()
but get this error "-- No ""="" function for ((prop Morpher $huvud) 1)"
