View previous topic :: View next topic |
Author |
Message |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Sat Apr 09, 2005 8:08 am Post subject: how do I make fake walking |
|
|
I would to make my npc as if it was walking. I am using the set npc position but it only make the npc slide. To make fake walking (npc speed=0) I need to combine the set npc position with put npc.
set npc position
set npc position (npc pixels are 1 pixel difference)
This way Npc will really seems walking. Could somoene help me to write that ?
Thanks very much in advance!
If you think there is another way to do that, feel free to post it! |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Sat Apr 09, 2005 8:39 am Post subject: to make a short version |
|
|
So I would like to change the X, Y position of my npc and IN THE SAME TIME back by 1 pixel my npc's grafics.
Thanks very much for the help! |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Sat Apr 09, 2005 4:45 pm Post subject: |
|
|
why can't you just use
Code: | walk NPC (who,direction,distance) |
?
For instance, if you want your npc to walk 1 tile down, use
Code: | walk NPC (npc,down,1) |
_________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Sat Apr 09, 2005 5:20 pm Post subject: Yes! |
|
|
Thank you!
walk npc (who, direction, distance)
That's what I was searching for! Sorry to post a message. I should have been able to guess it by myself!
Sorry for making losing losing time and good luck ! |
|
Back to top |
|
 |
Cube Dimensional Traveller

Joined: 02 Feb 2003 Posts: 294
|
Posted: Sat Apr 09, 2005 6:53 pm Post subject: |
|
|
I dunno if you've read this before or not, but I might as well link to it:
Plotscripting Dictionary
This contains every plotscripting command in existance, and details descriptions on how to use every one. They've also been categorized, so for this particular quest you would've checked out the "Moving NPCs" section.
Usually questions like your first post can be answered by taking a quick peak at the dictionary, so hopefully this will solve any unforeseeable problems that may arise in the future. |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Sun Apr 10, 2005 3:44 am Post subject: Sorry |
|
|
I know the walk npc command very well. The problem is that I didn't tought that it could help me to solve my problem.
I haven't realised that I could make appear the npc moving with an npc speed equal to 0 and the walk (npc command)
Thanks very much anyway.
Sorry again for posting so much messages (I've already post about 40 messages!) but it really helps me to make my game and to post messages at the FAQ. Tell me if you think I should post less messages. I will try not to post more than 1 by week from now on.
Good luck all in making your game! |
|
Back to top |
|
 |
rpgspotKahn Lets see...

Joined: 16 May 2004 Posts: 720 Location: South Africa
|
Posted: Sun Apr 10, 2005 4:16 am Post subject: |
|
|
As far as I know, you can't walk an NPC that has a speed of '0'. Try a plotscript to set NPC speed to '4' or so and then walk the NPC and then set the speed back to '0'. _________________
2nd Edition out now! |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Sun Apr 10, 2005 10:59 pm Post subject: Yes I know |
|
|
I know that both heroes and Npcs needs speed to walk but what I wanted was seeing the npc using all its walkabout pictures without moving.
That's possible using the walk npc command with speed=0 and that's what I decided to use.
Anyway sorry again for posting an useless message! |
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Mon Apr 11, 2005 6:40 am Post subject: |
|
|
set npc direction
set npc frame _________________
|
|
Back to top |
|
 |
|