Jump to content

Photo

SAY Problem


1 reply to this topic

#1 Rastor

Rastor

    The last time that I was sober, I was five.

  • Modders
  • 385 posts
  • Gender:Male
  • Location:Baator

Posted 23 August 2004 - 05:09 PM

I'm attempting to use the following command to patch a spell to display a dialog string whenever it is cast (via opcode 139).

COPY ~mymod/spells/whatever.spl~ ~override~
SAY 0x76h @5

WeiDU gives the following error from that:

ERROR:  cannot convert ~0x76h~ (or ~0x76h~) to an integer
ERROR: [mymod/spells/whatever.spl] -> [override] Patching Failed (COPY) (Failure("int_of_string"))


What am I doing wrong here? The offset is correct, as identified by Near Infinity.

#2 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Gibberling Poobah
  • 9723 posts
  • Gender:Not Telling

Posted 23 August 2004 - 07:24 PM

Just use SAY 0x76 @5 without the h. The 0x tells WeiDU it's a hexadecimal. :)

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users