Difference between revisions of "CommandUseObject"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
m (Updating link)
 
(One intermediate revision by one other user not shown)
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 == -->
Line 32: Line 31:
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
[[Category: Commands functions]]
+
[[Category:Commands functions]]

Latest revision as of 19:25, 3 August 2011

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_*