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 05-30-2007, 08:05 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
can showimgs/showganis block?

For graalaxy's space ship system, I want to implement player/player colission. However, the ships are gani scripts that use showimg(). Is there any way to make these block (ideally in the same way as NPCs where transparent parts don't block).

or will I have to make an NPC which shares the players x/y and use setimg?


Thanks
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #2  
Old 05-31-2007, 01:24 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Straight answer--no. You cannot make a showimg block, and I don't think you can a GANI. The only possible way to make a gani block would be to add a GANI script which either has the image shown with showimg, and then uses a setshape2, or if you actually set the GANIs image in a gani script.

I recommend using GANIs, then setting one of the players attributes to "GANINAME.gani" (must have the .gani), and then this will exist as long as the player does (you need to have an onPlayerEnters() if you want it to show when they enter, and you also need a timeout which constantly updates the x/y to the players.

GANI scripts are clientside, I don't think even a showgani on the npc-server would be serverside.
__________________
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:32 PM.


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