Post: Trickshot Platform code?
09-25-2015, 02:07 PM #1
MrMoan
Big Daddy
(adsbygoogle = window.adsbygoogle || []).push({}); hey guys does anyone have the trickshot starter pack its from Elegance

like it spawns a platform outta carepackages in the sky then teleports you to it

thx.*
09-25-2015, 02:17 PM #2
ProcyonXL
Do a barrel roll!
Here you can mess with the position to get up in the air, and teleport thing you can just take a regular tp code and change the origin.

spawnPlatform()
{
while (isDefined(self.spawnedcrate[0][0]))
{
i = -3;
while (i < 3)
{
d = -3;
while (d < 3)
{
self.spawnedcrate[d] delete();
d++;
}
i++;
}
}
startpos = self.origin + (0, 0, -15);
i = -3;
while (i < 3)
{
d = -3;
while (d < 3)
{
self.spawnedcrate[d] = spawn("script_model", startpos + (d * 40, i * 70, 0));
self.spawnedcrate[d] setmodel("t6_wpn_supply_drop_ally");
d++;
}
i++;
}
self iprintlnbold("^2Platform Spawned!");
wait 1;
}
Last edited by ProcyonXL ; 09-25-2015 at 02:25 PM.
09-25-2015, 02:23 PM #3
MrMoan
Big Daddy
that doesnt teleport you to it...........
09-25-2015, 02:27 PM #4
ProcyonXL
Do a barrel roll!
I said you have to make it, it's easy

self setorigin(Origin Here);
Last edited by ProcyonXL ; 09-25-2015 at 02:32 PM.
09-25-2015, 03:17 PM #5
MrMoan
Big Daddy
Originally posted by ProcyonXL View Post
I said you have to make it, it's easy

self setorigin(Origin Here);


.idk how to do that ...thats why i asked in a thread


sorry im not good at teleporting and origins
Last edited by MrMoan ; 09-25-2015 at 03:25 PM.
09-25-2015, 03:20 PM #6
ProcyonXL
Do a barrel roll!
Originally posted by MrMoan View Post
.idk how to do that ...thats why i asked in a thread


I pretty much gave you all you need though. add the self setorigin to the platform code with the self.origin + (0, 300, 0)
09-25-2015, 03:47 PM #7
MrMoan
Big Daddy
Originally posted by ProcyonXL View Post
I pretty much gave you all you need though. add the self setorigin to the platform code with the self.origin + (0, 300, 0)


yup....still dont get it...
09-25-2015, 05:00 PM #8
iiiCenTurY
Gym leader
Originally posted by MrMoan View Post
yup....still dont get it...


then learn how to code first. thats the easiest thing on the world..
09-25-2015, 09:34 PM #9
Trefad
I defeated!
Originally posted by iiiCenTurY View Post
then learn how to code first. thats the easiest thing on the world..


😣💦💦💦💦
09-25-2015, 09:49 PM #10
itsSorrow
In my man cave
Originally posted by MrMoan View Post
yup....still dont get it...


just do self setOrigin(self.spawnedcrate.origin);

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo