Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Set player emotion? (https://forums.graalonline.com/forums/showthread.php?t=72297)

JkWhoSaysNi 02-19-2007 11:07 PM

Set player emotion?
 
Is it possible to set the player emotion through code?

I really just want to display the ctrl+z icon but don't know how to set it.

I assume it's set in a player.attr?

cbk1994 02-20-2007 02:56 AM

Quote:

Originally Posted by JkWhoSaysNi (Post 1279484)
Is it possible to set the player emotion through code?

I really just want to display the ctrl+z icon but don't know how to set it.

I assume it's set in a player.attr?

You could just showimg the animation.

Gambet 02-20-2007 03:15 AM

PHP Code:

//#CLIENTSIDE
function onCreated()
{
  
findimg(0).image "emoticon_name.extension";
  
findimg(0).y-=5;
  
findimg(0).x+=2;



Emoticons are shown under the index of 0.



Side Note: 2000th post, hurray!


All times are GMT +2. The time now is 11:41 AM.

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