Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Spaces missing when pasting a variable from clipboard ((trust me, for some of us it's annoying))
New Topic New Poll Post Reply
Poster Message
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Spaces missing when pasting a variable from clipboard (0)  
Suppose you have the following code on an NPC:
  Set var "text1" : This is
  Set var "text2" :  a test.
  Speech "$text1$$text2$",Normal,Self,0,.
Then what you get is the NPC saying "This is a test." Well and good. But if you were to actually paste those commands onto an NPC, they'll come out as
  Set var "text1" : This is
  Set var "text2" : a test.
  Speech "$text1$$text2$",Normal,Self,0,.
and the NPC will say "This isa test.", because the leading space on the variable has been deleted. Trailing spaces are deleted as well. This only happens with variables; the line
  Speech " This is a test.",Normal,Self,0,.
with its leading space pastes without a problem. It also only happens with pasting; the space is copied correctly (and pastes correctly into a text editor).
05-13-2009 at 01:16 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Spaces missing when pasting a variable from clipboard ((trust me, for some of us it's annoying))
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.