Author Topic: New functions  (Read 1545 times)

0 Members and 1 Guest are viewing this topic.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
New functions
« on: January 30, 2007, 03:24:49 am »
If the function SetPlayerXY() goes through it could prove useful with this.
Maybe idea for new function.
Basically a vote command but it can be called for any reason.

It could be used in lots of different ways .eg.
Mission maps... Your walking and you reach a brick wall and a little vote box appears saying 'What would you like to do' F11 'Climb the wall'   F12 'Dig underneath'
Depending on which option you choose, eg. F12 will SetPlayerXY() underground.

Or if SetPlayerXY() is not added
You could use the vote command on a tournament server where its 1 vs 1 and has spectators. Once the player wins the spectators get a vote box saying 'Next Contender' F11 'Frenchie'  F12 'SumR4ndom'

Date Posted: January 29, 2007, 07:33:05 AM
EnEsCe could you post and say if a function like this could be added?  :)
vote (Reason, Percentage, F11 Title, F12 Title, F11 Function, F12 Function)
eg: vote ('Would you like to start zombie mode', 85, 'Yes', 'Pfftt..No', startZombie(), )
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: New functions
« Reply #1 on: January 30, 2007, 03:25:39 am »
Ok... No, it can't be done

Offline truup

  • Soldier
  • **
  • Posts: 243
Re: New functions
« Reply #2 on: January 31, 2007, 02:07:31 pm »
Ok... No, it can't be done

Why not? I know you're a busy man, I dont want to annoy you anything either, but ppl would appreciate that you told us why. Saying just "No" says nothing :S I'm pretty sure Frenchie has this question in his mind too :)

Offline chrisgbk

  • Moderator
  • Veteran
  • *****
  • Posts: 1739
Re: New functions
« Reply #3 on: January 31, 2007, 02:50:34 pm »
The server has no way of controlling the text that shows up for the options in votes.