Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: RickyD
Im having trouble playing fx in script files.
Using:
playfx( {EFFECT}, self.origin );
#precache( "fx", "_t6/maps/zombie/fx_zombie_bar_break" );
ModmeBot:
Reply By: natesmithzombies
This is how I do it:
At the top of the script outside of the main function:
#define KINO_SWIRL "_NSZ/Kino_Tele/kino_swirl"
#precache( "fx", KINO_SWIRL );
playfx( KINO_SWIRL, level.black_spots_targets[player_num].origin );
fx,_NSZ/Kino_Tele/kino_swirl
ModmeBot:
Reply By: RickyD
natesmithzombiesThis is how I do it:
At the top of the script outside of the main function:
#define KINO_SWIRL "_NSZ/Kino_Tele/kino_swirl" #precache( "fx", KINO_SWIRL );
Then I do:
playfx( KINO_SWIRL, level.black_spots_targets[player_num].origin );
You also need to include the fx in your zone file:
fx,_NSZ/Kino_Tele/kino_swirl
ModmeBot:
Reply By: natesmithzombies
RickyD
It didn't work ;/
Can you edit main gsc files? because im trying to put it in blockers.gsc
EDIT: NVM i figured out the problem! - thanks
ModmeBot:
Reply By: RickyD
natesmithzombiesRickyD
It didn't work ;/
Can you edit main gsc files? because im trying to put it in blockers.gsc
EDIT: NVM i figured out the problem! - thanks
Nice! Could you let us know what it was? Might help a future user