Have a few unreal script questions and an assignment due soon so any help would be greatly appreciated.
First thing I am trying to do is give a vector the location of where an actor spawns and then give it a slight offset and can't for the life of me work out how. I am then using the vector to spawn another actor into the world at that location but it needs a slight offset value so its not in the excast same position. As the actor is placed in the editor It needs to work that out after it has spawned if you get what I mean and then add an offset.
Tried a few things including:
function SpawnAmmo(Vector SpawnLocation)
{
//BoxOneLOf = SpawnLocation * BoxOneL;
Spawn(class 'TheBlueBoxLinkgunPack',,,SpawnLocation + SpawnOfSet);
}
Display More
With out much luck. -------------------------Second I am having a hard time working
change the material of a mesh when called in other words
Don't know if anyone has had experience with it but its looking for the values "int Element Index, Material Interface Material" and I can't really find any documentation explaining how to set it up .
Cheers! ![]()