UI_set_barge_dir
![[SI, Exult]](images/siexultsm.png)
UI_set_barge_dir(object obj, int dir)
obj->set_barge_dir(int dir)
If 'obj' is a barge object, sets its direction (along with all objects laying on 'obj') to 'dir'. 'dir' can be one of the constants defined for 'find_direction' intrinsic.
Parameters
| Parameter / value | Description |
|---|---|
obj |
The object to be animated. |
dir |
The 8-cardinal-point direction that the barge should face. This can be one of the values returned by the find_direction intrinsic. |