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 01-16-2015, 05:38 AM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
Quote:
Originally Posted by MysticalDragon View Post
Inside a gani you could do;
PHP Code:
SCRIPT
function onPlayerEnters() {
  
with findImg100 ) ) {
    
image player.attr[#];// Image of Cape
    
layer 2;
    
attachToOwner true;
    
attachOffset = { -1, -3};
  }
}
SCRIPTEND 
I know, I already had something like that. What my question was is if we can find the position of a certain sprite. For instance, finding the coordinates of the body in all views so that you can position the cape correctly.
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 12:45 AM.


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