Jump to content
Sign in to follow this  
Maurolava

Help with new script BG2

Recommended Posts

Even then, it's pretty rare. Take the first pocket plane challenge. Some of these creatures have very complex scripts (not to mention most have at least 3 or 4 scripts assigned); even chunked, I've yet to see their Die() block fail.

 

Part of their script is buggy, however:

 

IF

Race(Myself,SWORD)

Dead("chalrv01") // ~The Ravager~

!Dead("yself)") // yself)

THEN

RESPONSE #100

Kill(Myself)

END

 

!Dead("yself)") is always true, i guess :p Somehow their scripters didn't know Dead accepts only scripting names (strings) in bg2?

Luckily it doesn't cause much of a problem.

Share this post


Link to post

Cookie if you can name a single script where they didn't incorrectly use Dead(). :) Some of the designers tried working around this in a select few scripts, but every other script in the game tries !Dead(O:Object).

Edited by devSin

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...