Difference between revisions of "CommandUseObject"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay. Removing tag)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=CommandUseObject
 
|name=CommandUseObject
Line 18: Line 17:
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
This will create a command to use an object. Sub commands include:
 
This will create a command to use an object. Sub commands include:
(1) move to use point
+
# move to use point
(2) face object
+
# face object
(3) use object
+
# use object
  
 
== Remarks ==
 
== Remarks ==
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
See PLACEABLE_ACTION_*
+
See [[PLACEABLE_ACTION*]]
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->

Revision as of 00:52, 3 March 2010

Create a command to use an object.

command CommandUseObject(
object oTarget,
int nAction
);
Parameters:
oTarget
the object to use
nAction
the action to use on the object
Returns:

a valid command

Source:

script.ldf

Description

This will create a command to use an object. Sub commands include:

  1. move to use point
  2. face object
  3. use object

Remarks

See PLACEABLE_ACTION*