Difference between revisions of "Talk:Lua Mod API"

From WolfWiki
Jump to: navigation, search
Line 2: Line 2:
 
:you can do this with tempentities and SVF_SINGLECLIENT ...
 
:you can do this with tempentities and SVF_SINGLECLIENT ...
 
:--[[User:Bani|Bani]] 17:32, 16 December 2005 (PST)
 
:--[[User:Bani|Bani]] 17:32, 16 December 2005 (PST)
 +
 +
some of this can be done via function et_Print(text).. but this would greatly simplify life<br>
 +
my wish list for christmas:<br>
 +
- eguid = getUserIAC(cno) - get a clients etpro guid - if consolecommand "guids" can do it, why not Lua<br>
 +
- repair gentity_set for vec3 - scotty fix the transporter please<br>
 +
- cunfo = getClientUserInfo(cno) - get a clients CLIENT-user info<br>
 +
- function et_ClientCommand(cno, cmd) - could this react to "+attack" and absorb it 'return 1'?<br>
 +
- et.trap_SendServerCommand(cno, "kill") - punish client as alternative to setting health<br>
 +
<br>

Revision as of 12:58, 19 December 2005

- et.G_SlotSound( slotnum, soundindex ) -> Plays the sound soundindex at for the player @ slotnum only. --RoadKillPuppy 14:17, 16 December 2005 (PST)

you can do this with tempentities and SVF_SINGLECLIENT ...
--Bani 17:32, 16 December 2005 (PST)

some of this can be done via function et_Print(text).. but this would greatly simplify life
my wish list for christmas:
- eguid = getUserIAC(cno) - get a clients etpro guid - if consolecommand "guids" can do it, why not Lua
- repair gentity_set for vec3 - scotty fix the transporter please
- cunfo = getClientUserInfo(cno) - get a clients CLIENT-user info
- function et_ClientCommand(cno, cmd) - could this react to "+attack" and absorb it 'return 1'?
- et.trap_SendServerCommand(cno, "kill") - punish client as alternative to setting health