Teleportation help
Moderator: Core Staff
Teleportation help
i want to make a portal like in nm_portal... some1 can help me ?
let me help
i referred him here, here is his .gsc, he doesnt get a compile error but it doesnt work.
i referred him here, here is his .gsc, he doesnt get a compile error but it doesnt work.
Code: Select all
main()
{
maps\mp\_load::main();
level._effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (3568, 2304, 328), 0.7);
thread teleporter1();
}
teleporter1()
{
while(1)
{
players = getentarray("player","classname");
for(i=0,i<players.size,i++)
{
finishtrig = getent ("teleporter_1","targetname");
finishtrig waittill ("trigger",user);
user setOrigin( (3408, 2360, 144) );
}
wait 2;
}
}
"Zaitsev is a cunt." - Pedsdude
honestly I dont see anything wrong with it, just to things that might change it.
The targetname isnt correct or change wait 2 to wait .5
Everything else looks fine.
The targetname isnt correct or change wait 2 to wait .5
Everything else looks fine.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
Who is online
Users browsing this forum: No registered users and 0 guests