Thread: some NPC ideas
View Single Post
  #1  
Old 01-04-2002, 01:05 PM
WHIPENIE4 WHIPENIE4 is offline
I am X-Mann
Join Date: Aug 2001
Location: PA
Posts: 2,715
WHIPENIE4 is on a distinguished road
Send a message via ICQ to WHIPENIE4 Send a message via AIM to WHIPENIE4
some NPC ideas

[screen_name says:]

i emailed Stefan a while back about the string with, where you can manipulate them easier, but i have one more thing to say about that, he should add it so you could get a value out or a string array without using the tokenize command

EXAMPLE:
NPC Code:

from this:
if (playersays(whatever)) {
tokenize #s(stringname);
setplayerprop #c, #t(indexhere);
}

to this:
if (playersays(whatever)) {
setplayerprop #c, #s(stringname[indexhere]);
}




that was just a example, it may not seem much better, but with some scripting im doing, it will be alot easier

second idea, Stefan should add more things images
NPC Code:

image[index].width
image[index].height
image[index].layer
changeimglayer index,whateverlayer;

__________________
Mind over Matter. If your body dont mind, why does it matter?

- X-Mann (Blessing Graal since 1998) Haha

- Graal 2000 Project (Contact Me to get Apart of this expierience

Windows Vista. Graal. Not a Good Combination.
Reply With Quote