Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-05-2001, 09:43 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Question Setshape2

Can anyone tell me if there is a way to make the player not swimmin when over water. When I use setshape2 the character still swims, nonblocking tile didnt work, chair didnt work.

I wanna get this working!@

(With a 36*36 image with water under)
if (playerenters) {
setshape2 6,6,{22,22,22,22,22,22,22,22,22,22,22,22,8,8,8,8,8 ,8,8,8,8,8,8,8,22,22,22,22,22,22,22,22,22,22,22,22 };
}

It it still swimming when in the middle
Reply With Quote
  #2  
Old 07-05-2001, 10:29 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool you can..

you can disabledefmovement

or if it goes on a npc you can say

drawunderplayer;

(I have never tested that out if you walk or swim)

or you can change the default gani of swim to walk with the new npc command replacegani
it would be like

replacegani swim,walk;

(you would do that for how ever long you wanted them to be on it)

then you would do after they got off the spot or something do this

replacegani swim,swim;

well this will count them as swimming in the coding like
if(onwater(x,y))

it would say it is on the water, but it would set the ani so it looks like they are walking...
__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 07-05-2001, 10:52 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Changing the tiles, hm?
How?
Setshape2 or Board[] stuff
Reply With Quote
  #4  
Old 07-06-2001, 01:04 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
I'll try it, thanks for the tip.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.