Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   How do you..... (https://forums.graalonline.com/forums/showthread.php?t=17617)

Mrmicro 11-23-2001 03:35 AM

How do you.....
 
How do you make it so when a playerenters a level it plays a gani no matter what they are doing?

T3CK 11-23-2001 03:39 AM

Do you mean change the player's gani or an NPCs?

AlexH 11-23-2001 03:45 AM

FOR PLAYER

if (playerenters) {
setani ganiname,gfx used;
}

FOR NPC

if (playerenters) {
setcharani ganiname,gfx used;
}

mikepg 11-23-2001 05:36 AM

an addition
 
for the player, you might want to freeze the player, or it will go back to walking unless you do this:

if (playerenters) {
replaceani walk,yourani; setani yourani; sleep (about the length of your ani); replaceani walk,walk;
}

:)

Mrmicro 11-23-2001 06:17 AM

thanks


All times are GMT +2. The time now is 05:41 PM.

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