![]() |
![]() |
|||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
Sections: New Creatures & Placeables | New Tilesets | New Scripts
Go to (Previous - 1. About, 2. Introduction, 3. Script: Set Name, 4. Script: Set Wing, 5. Commands - Next )
Georg's Scripting Extreme Close-Up II: Get/Set Wing TypeBy Georg Zoeller This article discusses new scripting commands introduced in the 1.67 Update and demonstrates one possible way of using these commands to add interesting new features to a module or persistent world. This article assumes that the reader is somewhat proficient with Neverwinter Script, but a demo module and downloadable .erf is provided for simple import and text. SetCreatureWingType
GetCreatureWingType
CREATURE_WING_TYPE constants
Example Application: Winged CloaksThe following example demonstrates how to use the new functions to create a cloak item that will spawn a pair of wings on its owner while the cloak is worn.
Note that these items will only work on Player characters, as the OnEquip event handler for tag based scripting is set to only fire for player characters by default.
DownloadsBuilders - You can use the script and 6 premade cloaks (added to the Misc\Clothing\ category in the toolset) in your module by downloading the .erf file below and importing it into your module using the File -> Import function in the main toolset menu. Players - You can test the items discussed in this article by downloading the demo module and copying it into your nwn\modules directory. You can then start the module through the game main menu and access all the items discussed in this and the other articles by talking to the storekeeper in the first area.
|
|||||||||||||||||||||||
|
|
||
|
Multiplayer Games at Neverwinter Connections
|
||
|
Buy Premium Modules
|
||
|
5,039,803 BioWare Users:
|
||