UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: alaurenc9 on July 08, 2016, 03:00:39 am

Title: Does anyone know where level.global_damage_func is threaded?
Post by: alaurenc9 on July 08, 2016, 03:00:39 am
So I was looking though my scripts and I noticed the functions zombie_damage() and zombie_damage_ads() come from _zombiemode.gsc where they are defined as level.global_damage_func and level.global_damage_func_ads. But where in WaW scripts do those get called?
Title: Re: Does anyone know where level.global_damage_func is threaded?
Post by: JR-Imagine on July 08, 2016, 11:12:21 pm
map/_gameskill.gsc lines 2899, 2906 and 2911 inside of aa_player_attacks_enemy_with_ads( player, amount, type, point ). You could've just done a mass file search: http://i.imgur.com/Lo8orQ3.png (http://i.imgur.com/Lo8orQ3.png) :P