Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
--[[ Turn timer scripted by Skor. Timer starts going UP on turn start. --]]
teleport = true
teleportdistance = 7
function onPlayerTurnStart(pl, prevpl)
self.Clock.startStopwatch()
if teleport then
self.setPosition({Player[pl].getPlayerHand().pos_x + (Player[pl].getPlayerHand().trigger_forward_x * teleportdistance), Player[pl].getPlayerHand().trigger_up_y, Player[pl].getPlayerHand().pos_z + (Player[pl].getPlayerHand().trigger_forward_z * teleportdistance)})
self.setRotation({Player[pl].getPlayerHand().rot_x + 90, Player[pl].getPlayerHand().rot_y, Player[pl].getPlayerHand().rot_z})
end
end
function doNothing()
end
For most games I'm not as interested in putting a hard limit on each player's turn as I am in tracking exactly how long their turn is taking.
I could probably add a few lines to teleport it around based on the players' hand locations. I would have the lines commented out by default, but you could just remove the comment tags in the script.