Forums
Games
Cyberpunk 2077 Thronebreaker: The Witcher Tales GWENT®: The Witcher Card Game The Witcher 3: Wild Hunt The Witcher 2: Assassins of Kings The Witcher The Witcher Adventure Game
Jobs Store Support Log in Register
Forums - CD PROJEKT RED
Menu
Forums - CD PROJEKT RED
  • Hot Topics
  • NEWS
  • GENERAL
    THE WITCHER ADVENTURE GAME
  • STORY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 THE WITCHER TALES
  • GAMEPLAY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 MODS (THE WITCHER) MODS (THE WITCHER 2) MODS (THE WITCHER 3)
  • TECHNICAL
    THE WITCHER THE WITCHER 2 (PC) THE WITCHER 2 (XBOX) THE WITCHER 3 (PC) THE WITCHER 3 (PLAYSTATION) THE WITCHER 3 (XBOX) THE WITCHER 3 (SWITCH)
  • COMMUNITY
    FAN ART (THE WITCHER UNIVERSE) FAN ART (CYBERPUNK UNIVERSE) OTHER GAMES
  • RED Tracker
    The Witcher Series Cyberpunk GWENT
THE WITCHER
THE WITCHER 2
THE WITCHER 3
MODS (THE WITCHER)
MODS (THE WITCHER 2)
MODS (THE WITCHER 3)
Menu

Register

NWScripts in D'Jinni

+
B

bruchido

Senior user
#1
Oct 16, 2008
NWScripts in D'Jinni

Hello, i'm new to D'Jinni editor... i know neverwinter scripts well but it seems that none is working.I made an area in my first module reading D'Jinni wiki... i go to "Area properties" and in OnEnter event i put a NWscript like thisvoid main(){object oPC = GetFirstPC();DelayCommand(2.0,AssignCommand(oPC,ActionSpeakString("AAAAAAAAAA")));}or anithing else... void main(){object oPC = GetFirstPC();FadeToBlack(oPC,FADE_SPEED_SLOW);}i compile the script... save the module but in game nothing happens.I dunno what's wrong.. i get an error if i clik in the script inside "NWScript Debug Informations" the error is: Action not defined for "C:\Documents and Settings\Administrator\Local Settings\Application Data\The Witcher\temp\__ResourcesUnpackTmp\script1.ndb"
 
A

ailinon

Senior user
#2
Oct 16, 2008
I don't think anyone in the community really knows how to handle script debugging ;)OnEnter gets executed whenever anyone enters the area, be it player or NPC or a monster. It may fire quite early, and the player isn't really sure to be the first to enter the area. Be sure to check if it's the player that enters (by GetEnteringObject).-- Sinus
 
R

ralf1731

Senior user
#3
Oct 16, 2008
Yes - you are right, there are a lot of strange things... I give up!!This command works at my mod:ActionDoCommand(FadeToBlack(GetFirstPC(), FADE_SPEED_MEDIUM));Not the ActionSpeakString or SpeakString work with my PC. Dont ask why.With this post i go back to NWN (2) and train there for dragon age...Thank all the modders for helping me out and keep on the good work.Wish good luck with the mods, you work on...So long
 
G

Gamewidow

Forum veteran
#4
Oct 16, 2008
aw Ralf! don't throw in the towel just yet ... i can send you a copy of my main initialization script and you can change the bits you want to get going ..would that help ? ... and not to take credit for simon's work, HE wrote the script, not me ... i just changed it after :)
 
B

bruchido

Senior user
#5
Oct 17, 2008
I didn't knew it was different to do:
... some functions seems to be not working aniway, but maybe they are not supported by the witcher...
 
G

Gamewidow

Forum veteran
#6
Oct 17, 2008
djinni can be very tempermental so i'm not surprised ... but that does seem strange
 
R

ralf1731

Senior user
#7
Oct 17, 2008
@game widow mmmm... have sent you a private message, but im not sure it sent or not.
 
B

bruchido

Senior user
#8
Oct 17, 2008
I don't understand why my first creature that i made doesnt' spawn i followed the wiki.. can someone check if i did all right?http://www.sendspace.com/file/180qum
 
R

ralf1731

Senior user
#9
Oct 17, 2008
ok... not my very last posting ::)You forgot the Enable Spawn Script in the onEnter of the area:void main(){EnableSpawnPhase ("spawn_ginopino", TRUE);}
 
T

timpan

Senior user
#10
Oct 17, 2008
Ralf1731 said:
ok... not my very last posting ::)You forgot the Enable Spawn Script in the onEnter of the area:void main(){EnableSpawnPhase ("spawn_ginopino", TRUE);}
Click to expand...
I covered that in my video tutorial , it the thread called video tutorial 1
 
B

bruchido

Senior user
#11
Oct 17, 2008
ok i undestood Thx ;D
 
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
  • English
    English Polski (Polish) Deutsch (German) Русский (Russian) Français (French) Português brasileiro (Brazilian Portuguese) Italiano (Italian) 日本語 (Japanese) Español (Spanish)

STAY CONNECTED

Facebook Twitter YouTube
CDProjekt RED Mature 17+
  • Contact administration
  • User agreement
  • Privacy policy
  • Cookie policy
  • Press Center
© 2018 CD PROJEKT S.A. ALL RIGHTS RESERVED

The Witcher® is a trademark of CD PROJEKT S. A. The Witcher game © CD PROJEKT S. A. All rights reserved. The Witcher game is based on the prose of Andrzej Sapkowski. All other copyrights and trademarks are the property of their respective owners.

Forum software by XenForo® © 2010-2020 XenForo Ltd.