About Store Forum Documentation Contact



Post Reply 
Holding weapon and compare string with TextLine
Author Message
IgI Offline
Member

Post: #1
Holding weapon and compare string with TextLine
Hi, I have two problem:
- How make character with something in the hand ?
- How compare string with text from GUI TextLine ?
Please help me.
05-13-2010 04:12 PM
Find all posts by this user Quote this message in a reply
Ogniok Offline
Member

Post: #2
RE: Holding weapon and compare string with TextLine
- How make character with something in the hand ?

See the code from BM and Inventory tutorial.
(This post was last modified: 05-13-2010 04:30 PM by Ogniok.)
05-13-2010 04:30 PM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #3
RE: Holding weapon and compare string with TextLine
05-13-2010 08:12 PM
Find all posts by this user Quote this message in a reply
Chris Offline
Member

Post: #4
RE: Holding weapon and compare string with TextLine
(05-13-2010 04:12 PM)IgI Wrote:  - How compare string with text from GUI TextLine ?

Off the top of my head, it's something like;

Str myString;
TextLine myTextLine;

if ( Compare(myString, myTextLine()) == 0 ) {
// result is the same;
}

This is just from memory.
05-13-2010 10:24 PM
Find all posts by this user Quote this message in a reply
IgI Offline
Member

Post: #5
RE: Holding weapon and compare string with TextLine
Thanks Ogniok, Driklyn, Chris. You are very helpful.
05-14-2010 02:35 PM
Find all posts by this user Quote this message in a reply
Post Reply