Difference between revisions of "GetLocalObject"

From NWN Lexicon
Jump to: navigation, search
(chenyingying20171010)
Line 1: Line 1:
chenyingying20171010
+
 
http://www.mulberrybagsuk.me.uk
+
 
http://www.coachoutlet-online.eu.com
+
 
http://www.coach-canadaoutlet.ca
+
 
http://www.katespadeoutletsale.us.com
+
=GetLocalObject(object, string)=
http://www.ralphlaurenoutletofficial.us.com
+
 
http://www.longchampsacsoldes.fr
+
Get the data describing an object stored on an object.
http://www.katespadehandbagssale.us.com
+
 
http://www.uggfed.com
+
<nwscript>
http://www.jordanshoes.us.org
+
object GetLocalObject(
http://www.poloralph--lauren.us.com
+
    object oObject,
http://www.michael--korshandbags.us.com
+
    string sVarName
http://www.usboots.us.com
+
);
http://www.burberryoutlet-canada.ca
+
</nwscript>
http://www.katespadeoutletstore.us.org
+
 
http://www.canadagoose.com.co
+
====Parameters====
http://www.northfaceoutlet70off.us.com
+
 
http://www.louisvuittonoutlet.nom.co
+
''oObject''
http://www.air-jordanpascher.fr
+
 
http://www.thenorthfaceoutletjackets.us.com
+
The object that stores the object.
http://www.nikehuarache.net
+
 
http://www.nikeairforce1.net
+
''sVarName''
http://www.adidasstansmith.co.uk
+
 
http://www.jordans-fusion.com
+
The variable name of the data.
http://www.underarmouroutletclearance.com
+
 
http://www.adidasyeezy350boost.org.uk
+
<br />
http://www.nike-factoryoutlet.us.com
+
 
http://www.northfaceoutletstore.us.org
+
====Description====
http://www.tory-burchoutletonline.us.com
+
 
http://www.uggboots-onsale.us
+
Returns data contained inside the variable sVarName stored on the object oObject. oObject can be any object in the game world. <br /><br /> The string describing the variable can also be any string in theory but it is suggested that you avoid using the NW_* tags as they tend to be used within the game already. This function must be used in conjunction with its counterpart function SetLocalObject, as this is the main way to adjust the values held in the variable sVarName. On error the function will return OBJECT_INVALID.
http://www.monclerjacketsuk.uk
+
 
http://www.mlbjerseys.org
+
<br /><br />
http://www.tommyhilfigercanada.ca
+
 
http://www.ray-bansunglassesoutlet.com.co
+
====Remarks====
http://www.oakleysungalsses.nom.co
+
 
http://www.uggsaustraliaboots.us.com
+
This is most useful for getting any object (be it an inventory item, a creature, or even just some placeable), for use later. Of course, the value set is exactly object X, and no other, so the use of SetLocalString to set the objects tag for the use of GetObjectByTag() may be perferable in some situations. <br /><br /> Remember to not use this for persistant storage of variables on a PC's inventory items over server resets, as local objects will probably always return the wrong value, or OBJECT_INVALID.
http://www.uggbootsoutletclearance.us.com
+
 
http://www.officialcoachfactoryoutletonline.us.com
+
<br />
http://www.christianlouboutindown.com
+
 
http://www.cheapmlbjerseysshop.us.com
+
====Version====
http://www.pandora-jewelry.me.uk
+
 
http://www.coachoutletfactoryon.com
+
1.22
http://www.vibramfivefingers.in.net
+
 
http://www.northfaceclearance.us.com
+
====Example====
http://www.vibramfivefingerssale.com
+
 
http://www.truereligion-outletjeans.us.com
+
<nwscript>
http://www.coachfactoryoutletonlinesale.us.com
+
// This will send the PC to the object stored in "Data"
http://www.ugg-boots.name
+
void main()
http://www.canadagoosesale.com.co
+
{
http://www.pandora-jewelry.name
+
    object a = GetLocalObject(OBJECT_SELF,"Data");
http://www.michaelkorsukoutlet.me.uk
+
    AssignCommand(GetFirstPC(),ActionMoveToObject(a,TRUE,1.0));
http://www.uggbootsaustralia.com.co
+
}
http://www.canadagoosecanada.name
+
 
http://www.uggoutlets.com.co
+
</nwscript>
http://www.adidastore.co.uk
+
 
http://www.oakleyssunglassescheap.com
+
====See Also====
http://www.hollisterclothing.us.org
+
 
http://www.calvinkleinstore.in.net
+
{| class="seealso"
http://www.uggsboots.com.co
+
| width="1px" align="right" valign="top" | <font color="gray">functions: </font>
http://www.michaelkors--outlet.us.org
+
|
http://www.uggaustraliastore.ca
+
[[SetLocalObject | SetLocalObject ]]
http://www.wholesale-nfljerseys.us.com
+
|-
http://www.outletcanadagoose.ca
+
|}
http://www.clearancemichaelkorsoutlet.us.com
+
 
http://www.uggbootsoutletcanada.ca
+
<br />
http://www.rayban-sunglassesonsale.us.com
+
----
http://www.uggoutlet70off.com.co
+
<font color="gray">  author: GoLeM, editor: Jasperre, additional contributor(s): Kristain Markon, Jasperre</font><br />  <br />
http://www.airjordan-14.us
+
[[Category:Functions]]
http://www.ray-banaviatorsunglasses.org.uk
+
[[Category:Get_Data_from_Creature_Functions]]
http://www.supremeclothing.us.com
+
[[Category:Get_Data_from_Object_Functions]]
http://www.cheap-uggboots.com.co
+
[[Category:Get_Data_Functions]]
http://www.uggslipperssale.us.com
+
[[Category:Local_Variables_Functions]]
http://www.uggbootsforwomen.com.co
 
http://www.mbt.us.com
 
http://www.michaelkors-handbags.us
 
http://www.timberlandoutlet.name
 
http://www.ugg.org.uk
 
http://www.michael-kors-outlet.eu.com
 
http://www.uggbootsoutlets.org
 
http://www.katespadehandbagsoutlet.us.org
 
http://www.raybansunglassesoutlet.net.co
 
http://www.canadagoosecanada.com.co
 
http://www.poloralphlaurenoutletoff.us.com
 
http://www.michaelkorsoutletoff.us.com
 
http://www.nikerosherunsale.co.uk
 
http://www.nikenfljerseysfreeshipping.us
 
http://www.adidasfootballboots.org.uk
 
http://www.nikefactoryoutletstores.us.com
 
http://www.nike.me.uk
 
http://www.pradabags.in.net
 
http://www.wwwuggaustralia.co.uk
 
http://www.giuseppe-zanotti.us.com
 
http://www.christianlouboutin.name
 
http://www.cheapraybansunglasses.net.co
 
http://www.uggslippers.us.org
 
http://www.coachwallets.us.com
 
http://www.louisvuitonnoutlet.com
 
http://www.coachoutletonlineshopping.us.org
 
http://www.uggbootssale70off.org
 
http://armani.sunglassescheap.us.com
 
http://www.burberryscarfsale.in.net
 
http://www.ukuggboots.co.uk
 
http://www.christianlouboutinoutletclearance.us.com
 
http://www.coachcom.us.com
 
http://www.uggsaustralia.net.co
 
http://www.nikefootballbootsuk.org.uk
 
http://www.cheapralphlaurensale.co.uk
 
http://www.swarovski-jewelry.name
 
http://www.montblancpenofficials.us.com
 
http://www.salomon-shoes.in.net
 
http://www.coach-outlet.nom.co
 
http://www.burberry-outlet-stores.us.com
 
http://www.ralphlaurenoutlet-poloshirts.us.com
 
http://cartier.sunglassescheap.us.com
 
http://www.uggaustraliaboots.in.net
 
http://www.michaelkorsuk.com.co
 
http://www.cheap-jordan-shoes.us.com
 
http://oakley.sunglassescheap.us.com
 
http://www.michaelkors--outlet.us.com
 
http://www.ralphlauren.eu.com
 
http://www.adidastrainersuk.uk
 
http://www.truereligionuk.org.uk
 
http://www.hollistercooutlet.us.com
 
http://www.usuggbootsoutlet.com
 
http://www.outletcoachfactoryonline.us.com
 
http://www.louis-vuitton.nom.co
 
http://www.converseshoesoutlet.us.com
 
http://www.nmdadidas.co.uk
 
http://www.ugg.com.co
 
http://www.coachonline.us.org
 
http://www.outletuggs.com.co
 
http://www.uggonsale.in.net
 
http://www.jordans.in.net
 
http://www.wholesale-nfl-jerseys.us
 
http://www.outletuggboots.com.co
 
http://www.soccerjersey.us.com
 
http://www.nikeairmax90s.co.uk
 
http://www.nfljerseysfromchina.us.com
 
http://www.coachhandbagsfactoryoutletonline.us.com
 
http://dolceandgabbana.sunglassescheap.us.com
 
http://www.uggsoutlet.org
 
http://www.thenorthfacecanada.ca
 
http://www.ugg.ind.in
 
http://www.katespadestoreoutlet.us.com
 
http://www.uggfactoryoutlet.com.co
 
http://www.uggbootsclearanceoutlet.com.co
 
http://www.uggbootsonsale70off.us.org
 
http://www.uggbootsonsale70off.net.co
 
http://www.snapbackshatswholesale.us.com
 
http://www.blackhawksjersey.com
 
http://www.replica-watches.us.com
 
http://www.cheapnhljerseysshop.us.com
 
http://www.thenorthfaceclearance.us.com
 
http://www.cheap-ugg-boots.us.org
 
http://www.uggsonclearance.com.co
 
http://www.truereligion-jeans.com.co
 
http://www.cheaprolexwatches.us.com
 
http://www.cheapnfljerseyswholesale.us.com
 
http://www.doudounecanada-goose.fr
 
http://www.adidastrainersuk.me.uk
 
http://www.poloshirt.in.net
 
http://www.uggbootsclearances.com.co
 
http://www.uggbootsclearance.net.co
 
http://www.michaelkorsuk.me.uk
 
http://www.northface-clearance.us
 
http://www.cheap-uggs.com.co
 
http://www.rayban--sunglassess.us.com
 
http://www.pradaoutletonlinestore.us.com
 
http://www.monclerjacketsoutlet.us.com
 
http://www.outletthenorthface.us.com
 
http://www.ugg-australia.com.co
 
http://www.fitflops.org
 
http://www.poloralphlaurenoutletstores.us.com
 
http://www.uggboots70off.in.net
 
http://www.uggoutlet.nom.co
 
http://www.cheapjordansshoes.in.net
 
http://www.uggsoutlet.nom.co
 
http://www.north-face-outlet.in.net
 
http://www.manoloblahnik.us
 
http://www.outletlongchamp.us.org
 
http://www.uggbootsonsale65off.in.net
 
http://www.cheap-mlb-jerseys.us.com
 
http://www.uggs-outlet-online.us
 
http://www.fitflops.us.org
 
http://www.oakleysunglasses2017.us.com
 
http://www.uggsoutletstores.us.com
 
http://www.originalsadidas.co.uk
 
http://www.cheapraybans.ca
 
http://dior.sunglassescheap.us.com
 
http://www.chaussureschristianlouboutin.fr
 
http://www.outletuggs.net.co
 
http://www.pandorajewelryoutlet.us.org
 
http://www.discountnike.us.com
 
http://www.northfacejackets.us.org
 
http://www.nike-airmaxuk.me.uk
 
http://www.coachfactory-outletonline.org
 
http://www.uggsslippers.com.co
 
http://www.longchamp-outletstore.us.com
 
http://www.coachfactoryoutlet-onlinestore.us.com
 
http://www.coachoutletonline70off.us.com
 
http://www.outlet-moncler.us
 
http://www.uggsclearance.com.co
 
http://www.nikerunningshoes.co.uk
 
http://www.coachfactoryoutlet.nom.co
 
http://www.raybans-sunglassesoutlet.us.com
 
http://www.oakleysunglassesoutletstore.us.org
 
http://www.nikeairmaxshoes.us.com
 
http://www.ralphlaurenpolo.in.net
 
http://www.coach-bags.us.org
 
http://www.outletpolo-ralphlauren.us.com
 
http://www.ray-bansunglassesoutlets.us.com
 
http://rayban.sunglassescheap.us.com
 
http://www.fitflops.us.com
 
http://www.adidasshoessale.in.net
 
http://www.manchesterunitedjersey.org.uk
 
http://www.oakley-sunglassesonsale.us.com
 
http://www.nhlhockey-jerseys.us.com
 
http://www.uggsaustralia.it
 
http://www.saleuggboots.co.uk
 
http://www.vansshoesoutlet-store.com
 
http://www.thenorthface-outlet.in.net
 
http://www.pololaurenralphlauren.us.com
 
http://www.raybansunglassesforwomen.us.com
 
http://www.outletugg.ca
 
http://www.supremeuk.co.uk
 
http://www.adidasoutletclearance.com
 
http://www.prada.us.org
 
http://www.michaelkorsoutlet70off.us.com
 
http://www.coachoutletstoreonlineofficial.us.com
 
http://www.nbajerseysshop.us.com
 
http://www.coachoutlet70off.us.com
 
http://www.oakleysunglassescanada.ca
 
http://www.coach-factoryoutletonlines.com
 
http://www.moncler.eu.com
 
http://prada.sunglassescheap.us.com
 
http://www.pradahandbagsoutlet.us.com
 
http://www.coach-factoryonline.us.org
 
http://www.uggbootscheaponline.in.net
 
http://www.ugg-italia.it
 
http://www.cheapnikenfljerseyswholesale.us
 
http://www.toryburchhandbagsoutlet.us.com
 
http://www.nikestores.me.uk
 
http://www.michaelkorsoutletsonlinesale.us.com
 
http://www.newcoachoutlet.us.com
 
http://www.michaeljordan-shoes.com
 
http://www.uggsoutletstore.org
 
http://www.uggsclassicboots.us.com
 
http://www.uggbootsonsale75off.us.org
 
http://www.uggoutletsonline.us.com
 
http://www.uggclearancesale.us.com
 
http://www.pandora-rings.net
 
http://www.redbottomsshoes.me.uk
 
http://www.nikeoutletstoreonline.us.com
 
http://www.redbottoms.org.uk
 
http://www.burberryscarf.com.co
 
http://www.converse-outletstore.com
 
http://www.canadagoosecanada.ca
 
http://www.uggbootsoutlets.in.net
 
http://www.nikefactory-outlet.us.com
 
http://www.uggboots.com.co
 
http://www.raybanpascher.fr
 
http://www.michaelkorstotehandbags.us.com
 
http://www.pololaurenshirts.com
 
http://www.pandoracharms.us.org
 
http://www.hermesbirkinhandbags.us.com
 
http://www.coachfactoryoutlet-online.eu.com
 
http://www.jordanretro.us
 
http://www.uggsonsale.net.in
 
http://www.ray-ban-sunglasses.com.au
 
http://www.burberryoutletoff.us.com
 
http://www.coachoutletsclearance.us.com
 
http://www.christianlouboutinoutletuk.org.uk
 
http://www.michaelkorshandbags.nom.co
 
http://www.hermesbags.me.uk
 
http://www.suprashoesclearance.us.com
 
http://www.cheaplouboutinshoesuk.org.uk
 
http://www.uggsadd.com
 
http://www.truereligionsale.com.co
 
http://www.adidaswings.name
 
http://www.uggoutletstore.net.co
 
http://www.nikeairjordans.co.uk
 
http://www.truereligionoutletjeans.us
 
http://www.baseballjerseys.us.com
 
http://www.outletugg.com.co
 
http://www.coachoutlet-factory.us.com
 
http://www.uggfactoryoutlet.in.net
 
http://www.monclerdownjackets.co.uk
 
http://www.michael--kors.us.org
 
http://www.canadagooseclearance.us.com
 
http://www.louboutinoutlets.us.com
 
http://www.christianlouboutinoutletusa.us.com
 
http://www.fitflopsoutlet.us.com
 
http://www.ralphlauren-poloshirts.co.uk
 
http://www.oakleysunglassesofficialsite.us.com
 
http://www.ferragamooutlet.us.com
 
http://www.adidasshoesforsale.in.net
 
http://www.truereligionjeans-outlet.us.com
 
http://www.uggbootsclearance.net.co
 
http://www.ferragamoshoesoutlet.us.com
 
http://www.uggsale.com.co
 
http://www.canadagoosesale.name
 
http://www.uggclearancesale.in.net
 
http://www.oakleysunglasses-vault.us.com
 
http://www.adidasjeremyscott.in.net
 
http://www.uggbootsaustralia.in.net
 
http://www.birkenstockshoes.org.uk
 
http://versace.sunglassescheap.us.com
 
http://www.burberry.us.org
 
http://www.basketballshoesstore.us.com
 
http://www.nike-air-huarache.org.uk
 
http://www.uknorthface.org.uk
 
http://www.cheapmichaelkorshandbags.us.org
 
http://www.uggboots70off.com.co
 
http://www.coach-factoryoutletusa.com
 
http://www.nikeblazers.us
 
http://www.longchamp-handbags.us.org
 
http://www.hermesoutlets.us.com
 
http://www.cheapraybansunglass.co.uk
 
http://www.cheapnfljerseysshop.us.com
 
http://www.coachoutletonline-sale.us.com
 
http://www.montblanc-pens.name
 
http://www.cheapjerseysnflwholesale.us
 
http://www.salvatoreferragamo.in.net
 
http://www.ugg-australia.ca
 
http://www.uggbootsonsale75off.in.net
 
http://www.adidasyeezy-boost.us.com
 
http://www.pandoracharmjewelry.us.com
 
http://www.ugg-outlets.com.co
 
http://www.ugg.me.uk
 
http://www.birkenstocksandals.us.org
 
http://www.uggbootsclassic.ca
 
http://www.katespade-outlet.in.net
 
http://www.longchampoutlet-online.com
 
http://www.poloralphlauren-outletonline.us.com
 
http://www.adidasshoesoutletstore.us.com
 
http://www.fitflopssaleclearance.us.org
 
http://www.moncleroutlet.us.org
 
http://www.canada-goose-jackets.co.uk
 
http://www.uggbootsonsale70off.com.co
 
http://www.michaelkorsoutlet75off.us.com
 
http://www.birkenstockoutlet.us.com
 
http://www.uggsonline.in.net
 
http://www.michaelkors-outletonline.eu.com
 
http://www.ray-bansunglasses2017.us.com
 
http://www.toryburchoutletoff.us.com
 
http://www.truereligion-jeans.us
 
http://www.polo-ralphlaurenoutlet.in.net
 
http://www.sunglassesoakleycheap.us.com
 
http://www.montblanc.com.co
 
http://www.uggsoutletstores.in.net
 
http://www.longchamp-outlet.us.org
 
http://www.louisvuittonhandbags.nom.co
 
http://www.christianlouboutinoff.us
 
http://www.ralphlaurenpolooutlet.us.org
 
http://www.northfacejacket.us.com
 
http://www.uggs-outlet.name
 
http://www.michaelkorsoutletonline80off.us.com
 
http://www.supreme-newyork.com
 
http://www.uggbootsaustralia.us.org
 
http://www.fitflopssale.org.uk
 
http://www.cheapreplicawatches.us.com
 
http://www.cheap-jordans.us.com
 
http://www.nikeoff.com
 
http://www.uggoutlet70off.in.net
 
http://www.cheapjordansshoes.us.com
 
http://www.niketrainers.org.uk
 
http://www.newmichaelkorsoutlet.us.com
 
http://www.pandorajewelrycanada.ca
 
http://carrera.sunglassescheap.us.com
 
http://www.christianlouboutinshoes.me.uk
 
http://www.ugg-bootscheap.com.co
 
http://www.coachoutletonline.nom.co
 
http://www.outletcanadagoose.com.co
 
http://www.stansmithadidas.us.com
 
http://www.moncler-jackets.us.org
 
http://www.oakleysunglassessport.us.com
 
http://www.cheapairjordans.us.com
 
http://www.uggbootsclearances.com.co
 
http://www.newbalance-shoes.us.com
 
http://www.hermesbeltoutlet.com
 
http://www.superdry.me.uk
 
chenyingying20171010
 

Revision as of 13:33, 14 November 2017



GetLocalObject(object, string)

Get the data describing an object stored on an object.

object GetLocalObject(
    object oObject,
    string sVarName
);

Parameters

oObject

The object that stores the object.

sVarName

The variable name of the data.


Description

Returns data contained inside the variable sVarName stored on the object oObject. oObject can be any object in the game world.

The string describing the variable can also be any string in theory but it is suggested that you avoid using the NW_* tags as they tend to be used within the game already. This function must be used in conjunction with its counterpart function SetLocalObject, as this is the main way to adjust the values held in the variable sVarName. On error the function will return OBJECT_INVALID.



Remarks

This is most useful for getting any object (be it an inventory item, a creature, or even just some placeable), for use later. Of course, the value set is exactly object X, and no other, so the use of SetLocalString to set the objects tag for the use of GetObjectByTag() may be perferable in some situations.

Remember to not use this for persistant storage of variables on a PC's inventory items over server resets, as local objects will probably always return the wrong value, or OBJECT_INVALID.


Version

1.22

Example

// This will send the PC to the object stored in "Data"
void main()
{
    object a = GetLocalObject(OBJECT_SELF,"Data");
    AssignCommand(GetFirstPC(),ActionMoveToObject(a,TRUE,1.0));
}

See Also

functions: 

SetLocalObject



 author: GoLeM, editor: Jasperre, additional contributor(s): Kristain Markon, Jasperre