User Tools

Site Tools


attach_object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
attach_object [2024/02/04 21:09] – created justinattach_object [2024/02/22 21:01] (current) justin
Line 1: Line 1:
-======Function======+======Attach Object======
 ---- ----
 (WIP) (WIP)
 +
 +Attaches an [[object]] model to an [[entity]] at the specified [[attach_points|attach point]]. If the optional "target_attach_point_id" parameter (the [[attach_points|attach point]] ID for the target [[entity]]) is not specified, the "object_attach_point_id" value will be used for both the [[object]] and the target [[entity]] to which it's being attached.
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-function()+attach_object(model_name, entity, object_attach_point_id, target_attach_point_id)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-| | | | |+|model_name| |[[String]]|Yes| 
 +|entity| |[[Entity]]|Yes| 
 +|object_attach_point_id| |[[String]]|Yes| 
 +|target_attach_point_id| |[[String]]|No|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-function();+
 </code> </code>
 //Results:// //Results://
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Function** function to...+Use the **Attach Object** function to...
 </WRAP> </WRAP>
  
Line 26: Line 31:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:function_node.png?nolink|}}+{{:attach_object_node.png?nolink|}}
 </WRAP> </WRAP>
  
attach_object.1707109750.txt.gz · Last modified: 2024/02/04 21:09 by justin