Forums Index >> Modding >> Need Help!! *Shrugs in A Weary way, so it seems th...
Page : <1> :
I was the one that coded that teleporter... I was still a noob, but here you go:
Function DATABLOCK::onEnter(%this,%db,%tank)
{
%teleporter[1] = "POSITION 1";
%teleporter[2] = "POSITION 2";
%num = getRandom(1,2
); //Replace with num of positions
%tank.setTransform(%teleporter[%num]);
}
Yea its something like that, there might be some mistakes, but I dont have anything to test it here, nor to check for simple mistakes... This is a basic script though
Ty
Aye, ima kind of a noob at this but what about the datablock???
Ahh, nvm, I made the datablock =P
Page : <1> :
I would like to know if there is someone out there that can get one of the teleporters that can teleport you to more then just one place, sort of like the ones in BillyBobs Drag racing mod...