This is possible many ways. The most common however is to place this line of code in the NPCs OnSpawn script. This assumes your not changing the Tag of the chair. Also make sure the chairs are Non-Static. If you want the change the tag of the default chair then simply replace the word "Chair" in the script with your custom tag. Include the "". Add this line to the OnSpawn script of the NPC you want to sit. Be sure to re-save the script under a different name. ActionSit( GetNearestObjectByTag( "Chair"));
Graph IRI | Count |
---|---|
http://dbkwik.webdatacommons.org | 4 |