Posts
143
Respect
46Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!#include common_scripts\utility;
#include maps\_utility;
#include maps\_zombiemode_utility;
main()
{
trigger = getEnt("cannon_trig", "targetname");
cost = 1500;
trigger setCursorHint("HINT_NOICON");
trigger setHintString("Press &&1 to start the cannons [Cost: "+cost+"]");
while(1)
{
trigger waittill("trigger",player);
if(player.score >= cost)
{
player maps\_zombiemode_score::minus_to_player_score( cost );
trigger setHintString("Cannons are in action!");
cannon_fire();
wait 60;
}
}
}
cannon_fire()
{
cannon = getEnt("cannon", "targetname");
cannon_path = GetVehicleNode("cannon_path_start", "targetname");
thread maps\_vehicle::vehicle_paths(cannon_path);
maps\_vehicle::vehicle_init(cannon);
cannon StartPath(cannon_path);
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
thread cannon_fire();cannon_fire();

xmodel,artillery_usa_oerlikon
weapon,sp/oerlikon_turret
I assume this means that the oerlikon model is not rigged to be a weapon, but I cannot find any more oerlikon models.