About: Sitting NPC   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

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"));

AttributesValues
rdfs:label
  • Sitting NPC
rdfs:comment
  • 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"));
dcterms:subject
abstract
  • 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")); NOTE: Be sure to place this after the WalkWaypoints(); function call. Otherwise the WalkWaypoints may clear his action to sit.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software