This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
features:sinfar_supporter_housing:npcbehaviour [2019/05/29 02:21] LockOn created |
features:sinfar_supporter_housing:npcbehaviour [2019/05/31 05:01] LockOn Fixed the sitting script |
||
---|---|---|---|
Line 18: | Line 18: | ||
void main() | void main() | ||
{ | { | ||
- | ActionSit(GetNearestObject()) | + | ActionSit(GetNearestObject(OBJECT_TYPE_ALL, OBJECT_SELF,1)); |
} | } | ||
</code> | </code> |