I changed the model to look like the mines, but now i want it so when i press fire 1 it places the mine, and fire 2 to teleport to it.
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
Activated: offset = '0 0 0'; // change the numbers in here to offset the placing of the projectile from the player player = GetSourceRef(); mode = GetSenderRef(); If(!mode) // Primary, drop teleport point { If(target != -1) DestroyThing(target); target = FireProjectile(player, temp, -1, 12, offset, '0 0 0', 0,0,0,0); } Else // Sec fire { If(target == -1) Return; // If theres a target point TeleportThing(player, target); // teleport line DestroyThing(target); // Remove point target = -1; // safeguard } Return;
int player local # if not present already, just this one thing target=-1 local vector offset local template temp=templatename local