Difference between revisions of "SetLocked"

From NWN Lexicon
Jump to: navigation, search
(dongdong8)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
http://www.uggslipperssale.us.com
+
=SetLocked(object, int)=
http://www.outletlongchamp.us.org
+
 
http://www.louisvuitonnoutlet.com
+
Locks or unlocks a door or placeable.
http://www.katespadehandbagsoutlet.us.org
+
 
http://www.coachoutletonlineshopping.us.org
+
<nwscript>
http://www.coachoutlet-online.eu.com
+
void SetLocked(
http://www.manoloblahnik.us
+
    object oTarget,
http://www.truereligionsale.com.co
+
    int bLocked
http://www.thenorthface-outlet.in.net
+
);
http://www.newbalance-shoes.us.com
+
</nwscript>
http://www.truereligion-jeans.us
+
 
http://www.uggfactoryoutlet.com.co
+
====Parameters====
http://www.uggclearancesale.in.net
+
 
http://www.hollisterclothing.us.org
+
''oTarget''
http://www.katespadeoutletstore.us.org
+
 
http://www.nikeairmax90s.co.uk
+
The door or placeable to lock
http://www.rayban-sunglassesonsale.us.com
+
 
http://www.coachfactoryoutlet.nom.co
+
''bLocked''
http://www.tommyhilfigercanada.ca
+
 
http://www.ray-bansunglasses2017.us.com
+
TRUE to lock, FALSE to unlock.
http://www.uggsoutletstores.us.com
+
 
http://www.moncleroutlet.us.org
+
====Description====
http://www.nike.me.uk
+
 
http://www.michael--korshandbags.us.com
+
Used by objects or creatures to set the locked status of an object or placeable without checking the Open Locks skill.
http://www.ugg.ind.in
+
 
http://www.outletcanadagoose.ca
+
Note that DM Force Lock does the same thing as this. You can actually lock doors which cannot be normally re-locked, but it is not recommended.
http://www.oakleysunglassesofficialsite.us.com
+
 
http://www.adidastore.co.uk
+
====Remarks====
http://www.prada.us.org
+
 
http://www.canadagooseclearance.us.com
+
Alternatively, ActionLockObject and ActionUnlockObject can be used by creatures so appropriate skill checks are made. Make sure, as well, that your door has the 're-lockable' box checked.  
http://www.cheap-uggboots.com.co
+
 
http://www.usuggbootsoutlet.com
+
Of course, you can also lock an open door.
http://www.ugg.me.uk
+
 
http://www.cheapraybans.ca
+
When the object is already (un)locked, the On(Un)locked event is still fired.
http://www.cheapjordansshoes.in.net
+
 
http://www.swarovski-jewelry.name
+
====Version====
http://www.adidasjeremyscott.in.net
+
 
http://www.jordanshoes.us.org
+
1.61
http://www.redbottomsshoes.me.uk
+
 
http://www.birkenstockoutlet.us.com
+
====Example====
http://www.adidasshoessale.in.net
+
 
http://www.hollistercooutlet.us.com
+
<nwscript>
http://www.katespade-outlet.in.net
+
// Unlocked an object with the tag DOOR_TAG
http://www.poloralphlaurenoutletoff.us.com
+
void main()
http://www.outletcanadagoose.com.co
+
{
http://www.fitflops.org
+
    object oDoor = GetObjectByTag("DOOR_TAG");
http://www.truereligionoutletjeans.us
+
    SetLocked(oDoor, FALSE);
http://www.outletugg.ca
+
}
http://www.poloralphlaurenoutletstores.us.com
+
</nwscript>
http://www.ugg-outlets.com.co
+
 
http://www.ralphlaurenpolooutlet.us.org
+
====See Also====
http://www.underarmouroutletclearance.com
+
 
http://www.uggs-outlet.name
+
{| class="seealso"
http://www.raybansunglassesforwomen.us.com
+
| width="1px" align="right" valign="top" | <font color="gray">functions: </font>
http://www.wholesale-nfljerseys.us.com
+
|
http://www.poloralph--lauren.us.com
+
[[  GetLastUnlocked  | GetLastUnlocked ]]
http://www.cheapraybansunglasses.net.co
+
|-
http://www.vibramfivefingerssale.com
+
|}
http://www.burberryscarfsale.in.net
+
 
http://www.northfaceoutletstore.us.org
+
----
http://www.outletuggs.com.co
+
<font color="gray">  author: Tom Cassiotis, editor: Jasperre</font>
http://www.coachoutletfactoryon.com
+
[[Category:Functions]]
http://www.oakleysunglasses2017.us.com
+
[[Category:Get_Data_from_Object_Functions]]
http://www.newcoachoutlet.us.com
 
http://www.canadagoosecanada.ca
 
http://www.jordans.in.net
 
http://www.manchesterunitedjersey.org.uk
 
http://www.coachoutletonline.nom.co
 
http://www.ugg-australia.com.co
 
http://armani.sunglassescheap.us.com
 
http://www.coach-outlet.nom.co
 
http://www.uggbootsclearance.net.co
 
http://www.canadagoose.com.co
 
http://www.cheapjerseysnflwholesale.us
 
http://www.north-face-outlet.in.net
 
http://www.coachoutlet-factory.us.com
 
http://www.birkenstocksandals.us.org
 
http://www.adidasyeezy350boost.org.uk
 
http://www.uggboots70off.com.co
 
http://www.converseshoesoutlet.us.com
 
http://www.mulberrybagsuk.me.uk
 
http://www.ugg-italia.it
 
http://www.oakleysunglassessport.us.com
 
http://www.uggsadd.com
 
http://www.katespadestoreoutlet.us.com
 
http://www.doudounecanada-goose.fr
 
http://www.raybanpascher.fr
 
http://www.pololaurenshirts.com
 
http://www.cheaprolexwatches.us.com
 
http://www.coach-canadaoutlet.ca
 
http://www.oakleysunglassesoutletstore.us.org
 
http://www.michaelkorsuk.com.co
 
http://dolceandgabbana.sunglassescheap.us.com
 
http://www.uggbootscheaponline.in.net
 
http://www.hermesbeltoutlet.com
 
http://www.ray-ban-sunglasses.com.au
 
http://www.thenorthfacecanada.ca
 
http://www.burberry.us.org
 
http://www.stansmithadidas.us.com
 
http://www.nbajerseysshop.us.com
 
http://www.uggoutlets.com.co
 
http://www.coach-factoryoutletonlines.com
 
http://carrera.sunglassescheap.us.com
 
http://www.uggbootsclassic.ca
 
http://www.pradabags.in.net
 
http://www.uggbootsonsale65off.in.net
 
http://www.cheap-uggs.com.co
 
http://www.pandora-rings.net
 
http://www.wholesale-nfl-jerseys.us
 
http://www.montblancpenofficials.us.com
 
http://www.ferragamoshoesoutlet.us.com
 
http://www.fitflops.us.org
 
http://www.nikefactoryoutletstores.us.com
 
http://www.oakley-sunglassesonsale.us.com
 
http://oakley.sunglassescheap.us.com
 
http://www.uggsaustraliaboots.us.com
 
http://www.burberryoutlet-canada.ca
 
http://www.coachoutletonline70off.us.com
 
http://www.uknorthface.org.uk
 
http://www.chaussureschristianlouboutin.fr
 
http://www.uggs-outlet-online.us
 
http://cartier.sunglassescheap.us.com
 
http://www.ugg-boots.name
 
http://www.pandora-jewelry.me.uk
 
http://www.michaelkorsoutlet70off.us.com
 
http://www.christianlouboutinoff.us
 
http://www.poloshirt.in.net
 
http://www.uggsale.com.co
 
http://www.uggfactoryoutlet.in.net
 
http://www.uggfed.com
 
http://www.ralphlaurenpolo.in.net
 
http://www.uggaustraliaboots.in.net
 
http://www.uggbootsoutlets.org
 
http://www.cheapreplicawatches.us.com
 
http://www.outletuggs.net.co
 
http://www.ugg-australia.ca
 
http://www.cheapmlbjerseysshop.us.com
 
http://www.ray-bansunglassesoutlets.us.com
 
http://www.michaelkorsoutletoff.us.com
 
http://www.uggboots70off.in.net
 
http://prada.sunglassescheap.us.com
 
http://www.louis-vuitton.nom.co
 
http://www.uggboots.com.co
 
http://www.hermesbirkinhandbags.us.com
 
http://www.adidasoutletclearance.com
 
http://www.uggbootsonsale75off.in.net
 
http://www.uggaustraliastore.ca
 
http://www.raybansunglassesoutlet.net.co
 
http://www.uggsclassicboots.us.com
 
http://www.uggoutletstore.net.co
 
http://www.coachoutlet70off.us.com
 
http://www.nikeairmaxshoes.us.com
 
http://www.nikeairjordans.co.uk
 
http://www.raybans-sunglassesoutlet.us.com
 
http://www.christianlouboutindown.com
 
http://www.ugg.com.co
 
http://www.uggsonclearance.com.co
 
http://www.toryburchhandbagsoutlet.us.com
 
http://www.pololaurenralphlauren.us.com
 
http://www.michaelkorsoutletsonlinesale.us.com
 
http://www.officialcoachfactoryoutletonline.us.com
 
http://www.canadagoosecanada.name
 
http://www.canadagoosesale.com.co
 
http://www.hermesoutlets.us.com
 
http://www.christianlouboutinoutletuk.org.uk
 
http://www.giuseppe-zanotti.us.com
 
http://www.monclerjacketsoutlet.us.com
 
http://www.uggbootsoutlets.in.net
 
http://www.uggbootsonsale75off.us.org
 
http://www.rayban--sunglassess.us.com
 
http://www.cheap-mlb-jerseys.us.com
 
http://www.ralphlauren-poloshirts.co.uk
 
http://www.uggsonline.in.net
 
http://www.michael-kors-outlet.eu.com
 
http://www.uggoutlet70off.in.net
 
http://www.ukuggboots.co.uk
 
http://www.salvatoreferragamo.in.net
 
http://www.fitflopssale.org.uk
 
http://www.canadagoosesale.name
 
http://www.outletugg.com.co
 
http://www.uggbootsaustralia.in.net
 
http://www.uggbootsoutletcanada.ca
 
http://www.nikefootballbootsuk.org.uk
 
http://www.ray-bansunglassesoutlet.com.co
 
http://www.airjordan-14.us
 
http://www.coachwallets.us.com
 
http://www.coachfactory-outletonline.org
 
http://www.truereligion-jeans.com.co
 
http://www.tory-burchoutletonline.us.com
 
http://www.christianlouboutin.name
 
http://www.uggsoutletstore.org
 
http://www.longchamp-outlet.us.org
 
http://www.uggbootsonsale70off.us.org
 
http://www.nike-airmaxuk.me.uk
 
http://www.thenorthfaceoutletjackets.us.com
 
http://www.uggsslippers.com.co
 
http://www.uggboots-onsale.us
 
http://versace.sunglassescheap.us.com
 
http://www.michaelkorsuk.me.uk
 
http://www.canadagoosecanada.com.co
 
http://www.uggsoutlet.org
 
http://www.uggbootsforwomen.com.co
 
http://www.cheapraybansunglass.co.uk
 
http://www.redbottoms.org.uk
 
http://www.uggbootsclearances.com.co
 
http://www.coachoutletsclearance.us.com
 
http://www.pradaoutletonlinestore.us.com
 
http://www.northfaceoutlet70off.us.com
 
http://www.uggbootsaustralia.us.org
 
http://www.coachfactoryoutlet-onlinestore.us.com
 
http://rayban.sunglassescheap.us.com
 
http://www.christianlouboutinoutletusa.us.com
 
http://www.longchampoutlet-online.com
 
http://www.nikenfljerseysfreeshipping.us
 
http://www.adidasshoesforsale.in.net
 
http://www.michaelkorsoutletonline80off.us.com
 
http://www.air-jordanpascher.fr
 
http://www.toryburchoutletoff.us.com
 
http://www.canada-goose-jackets.co.uk
 
http://www.clearancemichaelkorsoutlet.us.com
 
http://www.suprashoesclearance.us.com
 
http://www.outlet-moncler.us
 
http://www.michaelkorsukoutlet.me.uk
 
http://www.burberryoutletoff.us.com
 
http://www.coach-factoryoutletusa.com
 
http://www.nikehuarache.net
 
http://www.cheapnikenfljerseyswholesale.us
 
http://www.converse-outletstore.com
 
http://www.burberryscarf.com.co
 
http://www.uggbootsclearances.com.co
 
http://www.salomon-shoes.in.net
 
http://www.nikeoutletstoreonline.us.com
 
http://www.uggoutlet70off.com.co
 
http://www.fitflops.us.com
 
http://www.uggsboots.com.co
 
http://www.outletthenorthface.us.com
 
http://www.oakleysungalsses.nom.co
 
http://www.ugg.org.uk
 
http://www.nikerosherunsale.co.uk
 
http://www.nmdadidas.co.uk
 
http://www.northfacejacket.us.com
 
http://www.birkenstockshoes.org.uk
 
http://www.uggbootsonsale70off.net.co
 
http://www.coachonline.us.org
 
http://www.burberry-outlet-stores.us.com
 
http://www.fitflopsoutlet.us.com
 
http://www.longchamp-handbags.us.org
 
http://www.ray-banaviatorsunglasses.org.uk
 
http://www.cheapairjordans.us.com
 
http://www.moncler-jackets.us.org
 
http://www.uggbootssale70off.org
 
http://www.cheap-jordan-shoes.us.com
 
http://www.cheapjordansshoes.us.com
 
http://www.ralphlaurenoutlet-poloshirts.us.com
 
http://www.ugg-bootscheap.com.co
 
http://www.nike-factoryoutlet.us.com
 
http://www.adidasshoesoutletstore.us.com
 
http://www.usboots.us.com
 
http://www.nikestores.me.uk
 
http://www.cheapnfljerseyswholesale.us.com
 
http://www.montblanc.com.co
 
http://www.baseballjerseys.us.com
 
http://www.uggoutlet.nom.co
 
http://www.uggslippers.us.org
 
http://www.jordans-fusion.com
 
http://www.cheapnhljerseysshop.us.com
 
http://www.monclerdownjackets.co.uk
 
http://www.originalsadidas.co.uk
 
http://www.uggsclearance.com.co
 
http://www.supreme-newyork.com
 
http://www.newmichaelkorsoutlet.us.com
 
http://www.pandora-jewelry.name
 
http://www.christianlouboutinshoes.me.uk
 
http://www.pandorajewelryoutlet.us.org
 
http://www.michael--kors.us.org
 
http://www.northfaceclearance.us.com
 
http://www.cheap-jordans.us.com
 
http://www.cheapmichaelkorshandbags.us.org
 
http://www.adidasfootballboots.org.uk
 
http://www.nikefactory-outlet.us.com
 
http://www.vibramfivefingers.in.net
 
http://www.katespadehandbagssale.us.com
 
http://www.nhlhockey-jerseys.us.com
 
http://www.ferragamooutlet.us.com
 
http://www.nfljerseysfromchina.us.com
 
http://www.oakleyssunglassescheap.com
 
http://www.coachhandbagsfactoryoutletonline.us.com
 
http://www.mbt.us.com
 
http://dior.sunglassescheap.us.com
 
http://www.michaelkors--outlet.us.org
 
http://www.moncler.eu.com
 
http://www.fitflopssaleclearance.us.org
 
http://www.supremeclothing.us.com
 
http://www.monclerjacketsuk.uk
 
http://www.michaelkorsoutlet75off.us.com
 
http://www.calvinkleinstore.in.net
 
http://www.oakleysunglasses-vault.us.com
 
http://www.oakleysunglassescanada.ca
 
http://www.uggsaustralia.net.co
 
http://www.uggoutletsonline.us.com
 
http://www.cheap-ugg-boots.us.org
 
http://www.louisvuittonoutlet.nom.co
 
http://www.montblanc-pens.name
 
http://www.coach-bags.us.org
 
http://www.adidasstansmith.co.uk
 
http://www.uggsoutletstores.in.net
 
http://www.uggonsale.in.net
 
http://www.coachfactoryoutletonlinesale.us.com
 
http://www.christianlouboutinoutletclearance.us.com
 
http://www.louboutinoutlets.us.com
 
http://www.jordanretro.us
 
http://www.coachoutletstoreonlineofficial.us.com
 
http://www.katespadeoutletsale.us.com
 
http://www.uggbootsoutletclearance.us.com
 
http://www.outletpolo-ralphlauren.us.com
 
http://www.saleuggboots.co.uk
 
http://www.michaelkors-outletonline.eu.com
 
http://www.pandoracharmjewelry.us.com
 
http://www.truereligion-outletjeans.us.com
 
http://www.nikerunningshoes.co.uk
 
http://www.sunglassesoakleycheap.us.com
 
http://www.outletuggboots.com.co
 
http://www.cheaplouboutinshoesuk.org.uk
 
http://www.polo-ralphlaurenoutlet.in.net
 
http://www.northface-clearance.us
 
http://www.outletcoachfactoryonline.us.com
 
http://www.adidasyeezy-boost.us.com
 
http://www.uggsaustralia.it
 
http://www.pandorajewelrycanada.ca
 
http://www.wwwuggaustralia.co.uk
 
http://www.blackhawksjersey.com
 
http://www.coach-factoryonline.us.org
 
http://www.pradahandbagsoutlet.us.com
 
http://www.longchampsacsoldes.fr
 
http://www.michaeljordan-shoes.com
 
http://www.poloralphlauren-outletonline.us.com
 
http://www.thenorthfaceclearance.us.com
 
http://www.nikeoff.com
 
http://www.uggbootsaustralia.com.co
 
http://www.discountnike.us.com
 
http://www.adidastrainersuk.uk
 
http://www.michaelkors-handbags.us
 
http://www.hermesbags.me.uk
 
http://www.adidastrainersuk.me.uk
 
http://www.adidaswings.name
 
http://www.uggbootsclearanceoutlet.com.co
 
http://www.cheapralphlaurensale.co.uk
 
http://www.uggclearancesale.us.com
 
http://www.michaelkorstotehandbags.us.com
 
http://www.uggsonsale.net.in
 
http://www.longchamp-outletstore.us.com
 
http://www.ralphlauren.eu.com
 
http://www.snapbackshatswholesale.us.com
 
http://www.louisvuittonhandbags.nom.co
 
http://www.ralphlaurenoutletofficial.us.com
 
http://www.michaelkorshandbags.nom.co
 
http://www.replica-watches.us.com
 
http://www.vansshoesoutlet-store.com
 
http://www.pandoracharms.us.org
 
http://www.soccerjersey.us.com
 
http://www.mlbjerseys.org
 
http://www.uggbootsclearance.net.co
 
http://www.coachfactoryoutlet-online.eu.com
 
http://www.cheapnfljerseysshop.us.com
 
http://www.northfacejackets.us.org
 
http://www.niketrainers.org.uk
 
http://www.michaelkors--outlet.us.com
 
http://www.truereligionjeans-outlet.us.com
 
http://www.uggsoutlet.nom.co
 
http://www.coachoutletonline-sale.us.com
 
http://www.coachcom.us.com
 
http://www.nikeblazers.us
 
http://www.uggbootsonsale70off.com.co
 
http://www.truereligionuk.org.uk
 
http://www.basketballshoesstore.us.com
 
http://www.nikeairforce1.net
 
http://www.nike-air-huarache.org.uk
 
http://www.supremeuk.co.uk
 
http://www.superdry.me.uk
 
http://www.timberlandoutlet.name
 
201710.6wengdongdong
 

Latest revision as of 18:06, 24 December 2017

SetLocked(object, int)

Locks or unlocks a door or placeable.

void SetLocked(
    object oTarget,
    int bLocked
);

Parameters

oTarget

The door or placeable to lock

bLocked

TRUE to lock, FALSE to unlock.

Description

Used by objects or creatures to set the locked status of an object or placeable without checking the Open Locks skill.

Note that DM Force Lock does the same thing as this. You can actually lock doors which cannot be normally re-locked, but it is not recommended.

Remarks

Alternatively, ActionLockObject and ActionUnlockObject can be used by creatures so appropriate skill checks are made. Make sure, as well, that your door has the 're-lockable' box checked.

Of course, you can also lock an open door.

When the object is already (un)locked, the On(Un)locked event is still fired.

Version

1.61

Example

// Unlocked an object with the tag DOOR_TAG
void main()
{
    object oDoor = GetObjectByTag("DOOR_TAG");
    SetLocked(oDoor, FALSE);
}

See Also

functions: 

GetLastUnlocked


 author: Tom Cassiotis, editor: Jasperre