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!I think there are problems moving structs because they don't have a body (Atleast I couldn't use them). However if you have an entity you are able to move it to a direction.
How to use MoveTo?
Wall = getEnt("walldoor", "targetname");
Wall MoveTo( Wall.origin + (200, 200, 0), speed);
This should be the same as in cod waw?
That's true, but the point is that 'self' can be anything, it's simply the variable/entity that called that function
Use this:
This is how you can do it in Cod World at War
I don't know how it works in bo3 but I know how to do it in waw.
In code you have to get the trigger, when the trigger fires you have to check which weapon that player is holding. If it is the weaponName bowie knife you can let him do the rest of the code.
Yo, Did you ever get this fixed?
Im guessing you have made sure you have checked the light tick box before rendering the map?
I was wondering because im having same/similer problem. The lights I made at first show up but then I have added some more and they dont show when i test my map and its annoying me and i dont want to have to start over cos of such a simple issue.
There is not really a "place" where to learn scripting. I have been modding since 2015 so that's about four years. And I still struggle with the easiest things from time to time.
I find it useful to read the scripts we were given with the mod tools, since they have pretty much all types of scripts there. For example if you're creating a custom wonder weapon, there are the scripts for Ray Gun Mark III and Thundergun. Treyarch has also provided a scripting api with all the engine functions of gsc scripting, which can be found in BO3 root/deffiles/docs_modtools
Most WaW scripts are also relevant in BO3, so you can also learn from the tutorials other have posted on UGX and other forums (even when most of them are for WaW).
And the best advice is that do what you're currently doing, which is try to do it yourself first. Other people are more likely to help you if you have tried it yourself first, which is exactly the case here
I actually figured out an easier way to do what you want. I know it might look complicated but this way you don't have to use any triggers.
If the hintstring radius is not big enough, you can change the radius of the trigger here: