Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-15-2006, 11:33 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
Alphablending Ganis?

Hi,

is there any way to alpha blend ganis?
i tried it like

NPC Code:

function onCreated(){
with(findimg(1)){
ani="walk","";
alpha=0.5;
}
}



but it didnt work, and i dont want to use COLOREFFECT thing(which i'm not sure if it works at v4) on all these sprites =/
Reply With Quote
  #2  
Old 02-15-2006, 11:58 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
ani="walk","" is incorrect. Just do ani="walk".

As for the alphablending thing, it's probably not possible without coloreffect, but I'm unsure.
Reply With Quote
  #3  
Old 02-16-2006, 11:48 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
when i did showani and did player.chat=findimg(blah).ani;
it said "ani",""
Reply With Quote
  #4  
Old 02-16-2006, 05:03 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by projectigi
when i did showani and did player.chat=findimg(blah).ani;
it said "ani",""
That is an array then. If you really want to do that then ani = {"walk", ""}
Reply With Quote
  #5  
Old 02-16-2006, 02:09 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It's not possible yet to make the whole gani transparent or rotate it etc.
Instead of COLOREFFECT on all sprites you can also change the transparency with changeimgcolors in the gani script
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:24 PM.


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