Gates
#3

Quote:
Originally Posted by Derksen123
//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/COMMANDCLOSE", true)==0)
{
MoveObject (COMMAND,-380.886,-3110.380,(10).912,2.5);
return 1; X Y Z HOW fast THE LAST 1E
}
if (strcmp(cmdtext, "/COMMANDOPEN", true)==0) if you look at the code you see a different with the first 1e and the second 1e
{ at the first 1e at Z code you see (10)
MoveObject (COMMAND,-380.886,-3110.380,(3).912,2.5); at the second 1e at Z code you see (3) i changed it , when you type /commandopen it
return 1; SAME WITH HERE goes down if you make that command lower as the standard code it goes down like (4)
} if you make the standard code higher like (12) it goes up but the saved position
is always the standard go see at ongamemodeinit that i put in the reply (--->)
command the standard code from this code what you see left = 10

AT ongamemode init that is the standard code
Command= CreateObject(1508, -415.287292, -3124.881592,---> 10.045923, 0.0000, 0.0000, 78.7500);

and at new ( new COMMAND

Uh? What are you doing?..



Do you have any variables to assign the gate to a faction?
You could do it with mysql scripting, making a table and fill it up, but if you don't know. You can just make a command and assign the gate to a faction, as far as you have factions.
Reply


Messages In This Thread
Gates - by Magneeto - 15.05.2009, 14:55
Re: Gates - by Derksen123 - 15.05.2009, 18:05
Re: Gates - by MenaceX^ - 15.05.2009, 18:38
Re: Gates - by Magneeto - 15.05.2009, 19:17
Re: Gates - by Magneeto - 15.05.2009, 19:18
Re: Gates - by Correlli - 15.05.2009, 19:24
Re: Gates - by Magneeto - 15.05.2009, 19:25
Re: Gates - by Correlli - 15.05.2009, 19:35
Re: Gates - by Magneeto - 15.05.2009, 22:34
Re: Gates - by Correlli - 15.05.2009, 23:09

Forum Jump:


Users browsing this thread: 1 Guest(s)