So, theres a function in the _Mod file that is this:
But then I'm wondering, how would the real code look?
[[level.SpawnWeapon]] (Weapon[Name], where[Origin], [optional]angles);//Spawns a gun at the location specified.
And another thing, is there any way to get it map specific?
- Heres the code if you need it for this question
Aaand thats it. Hope ya can help, would be awesome.
SpawnWeapon(weapName, coords, angles)
point = spawn("script_origin", coords);
weap = SpawnWeap(weapName, point.origin);
weap.angles = angles;
weap linkto( point );
return spawn( "weapon_" + weapName, coords + (0,0,5) );