Insimenator.org
April 18, 2024, 11:13:58 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home   Forum   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Create New Object Instance [Simantics Primitive]  (Read 5007 times)
0 Members and 1 Chinese Bot are viewing this topic.
Eric
BANNED
Member

Posts: 1404


View Profile
« on: August 24, 2005, 01:47:45 pm »

These are my notes on how the Create New Object Instance primitive is used.  This is by no means a complete set of instructions for this primitive, but a work in progress.

ex. #1


• Operand 1, Operand 2, Operand 3 and Operand 4 are the GUID (in reverse order) of the object to be created.
• Operand 5 is where to create the object.
• Operand 6 is how to create the object.

Where to create:
0 = in front of me
1 = on top of me
2 = in my hand
3 = in front of stack object
4 = in user defined slot of stack object
5 = underneath me (walk-over-able objects only)
6 = out of world (put new object id in stack object)
7 = below object in stack param 0
8 = below object in local
9 = next to me in direction of local
A = in user defined slot of object in temp 0

How to create:
0 = Create object normally.
1 = Do not duplicate object.
2 = transfer current stack object to new object and put my id in stack param 0

To download a basic example on how to use this primitive ---> Fire!
Logged
Pages: [1]
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.03 seconds with 31 queries.
SimplePortal 2.1.1