User Tools

Site Tools


features:sinfar_supporter_housing:npcbehaviour

Differences

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

Link to this comparison view

Next revision
Previous revision
features:sinfar_supporter_housing:npcbehaviour [2019/05/28 22:21]
LockOn created
features:sinfar_supporter_housing:npcbehaviour [2019/05/31 01:02] (current)
LockOn minor description updates
Line 18: Line 18:
 void main() void main()
 { {
- ActionSit(GetNearestObject())+    ​ActionSit(GetNearestObject(OBJECT_TYPE_ALL,​ OBJECT_SELF,​1));
 } }
 </​code>​ </​code>​
  
  
-Note, testing still required for all scripts.+Note, testing still required for all scripts, but the above works fine.
  
 Want an NPC to spot a player and walk over and start their conversation script with them? Want an NPC to spot a player and walk over and start their conversation script with them?
features/sinfar_supporter_housing/npcbehaviour.1559096486.txt.gz ยท Last modified: 2019/05/28 22:21 by LockOn