YesNoOk
avatar

Erase the shadow from an effect (Read 1657 times)

Started by daraku, January 08, 2018, 04:28:06 pm
Share this topic:
Erase the shadow from an effect
#1  January 08, 2018, 04:28:06 pm
  • **
Ok guys. I've an issue with a shadow that doesn't disappear. The effect is an helper. Here the code

; helper shotgun
[Statedef 1322]
type    = S
movetype= A
physics = N
juggle  = 1
ctrl = 0
anim = 223
sprpriority = 2

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = !time
flag = globalnoshadow




[State 0, BindToParent]
type = BindToParent
trigger1 = ishelper
time = 1
pos = 30,-14

[state b]
type = Trans
trigger1 = 1
trans = add


[State 0, AngleSet]
type = AngleSet
trigger1 = 1
value = 25


[State 0, AngleDraw]
type = AngleDraw
trigger1 = 1



[State 0, DestroySelf]
type = DestroySelf
trigger1 = animtime = 0

LOL....SOLVED TRIGGER1 = 1...IT WAS very easy!
Last Edit: January 08, 2018, 04:48:10 pm by daraku
Re: Erase the shadow from an effect
#2  January 08, 2018, 05:35:08 pm
  • avatar
  • **
  • Literally the goddamned fun police.
    • Canada
AFAIK, globalnoshadow removes all shadows, not just the shadow of the helper.
You're just gonna need to use a simple noshadow instead.
Re: Erase the shadow from an effect
#3  January 08, 2018, 07:11:24 pm
  • ****
    • USA
    • twitter.com/inktrebuchet
Try changing  "trigger1 = !time" to "trigger1 = 1". Right now it only triggers for the time = 0.
Re: Erase the shadow from an effect
#4  January 08, 2018, 07:46:40 pm
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
If you intend to use it just for that helper, don’t use globalnoshadow, use noshadow instead.