Post: teleporting models
10-02-2015, 06:30 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); quick question aye

if i have a model spawned in like this:

    modelspawn()
{
level.Ballista = spawn("script_model", (-2400,-7720,250));
level.Ballista.angles = (0,0,0);
level.Ballista setModel("t6_wpn_sniper_ballista_world");
}



how can i make a function so that later on i can change the cordinates of that model, so like
if i press square it teleports the model like under the map for example.

this is an example of how i kinda want it

    if(self UseButtonPressed())
{
level.Ballista setOrigin(0,0,1000);
}


of course i have already tried this above ^ but doesn't work.

it 1000% has to work like this in order for my thing to work

if i can get this to work, then i will be able to release my gamemode by tommorow or
the next day i been working on for weeks Smile
(adsbygoogle = window.adsbygoogle || []).push({});
10-03-2015, 10:57 AM #11
its a custom gamemode noone has seen before, if you look at all my help questions it hints my gamemode very easily

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo