Example:
pUser.StaticEffect( 0x091b, 1, 0 );
What exactly are the two latter numbers for? How are they used? In the docs it says the first is "speed", the second "loop". But why does my effect play for over 10 seconds with the above setting? *puzzled*
Concerning StaticEffect
-
Maarc
- Developer
- Posts: 576
- Joined: Sat Mar 27, 2004 6:22 am
- Location: Fleet, UK
- Has thanked: 0
- Been thanked: 0
- Contact:
StaticEffect( effectID, speed, loop[, explode] );
Explode is only in effect if pUser is an item, not a character. Interestingly, the packet doc sees it as duration, rather than loop. Where 0 == really long, 1 == shortest. But then again, my packet doc is old.
If you want other references, look at spells DFN in the STATFX lines. The first two numbers are the effect ID, the last two are speed and loop, respectively.
Explode is only in effect if pUser is an item, not a character. Interestingly, the packet doc sees it as duration, rather than loop. Where 0 == really long, 1 == shortest. But then again, my packet doc is old.
If you want other references, look at spells DFN in the STATFX lines. The first two numbers are the effect ID, the last two are speed and loop, respectively.