Jump to content

Scripting help needed please!


omegaspectre

Recommended Posts

Hey all,

 

I want to know a couple of things about scripting:

 

1) How to show a counter for a variable on the player's hud (similar to the "points" in COD Zombies)

 

2) How to remove the player's items and place them in a container using a trigger/script

 

thanks,

 

Jake

Link to comment
Share on other sites

1) How to show a counter for a variable on the player's hud (similar to the "points" in COD Zombies)

 

Take a look at some HUD mods and the XML files. Compatibility could be a problem.

If you want to go down that road then take a look at Unified HUD for best-practice in that regard.

 

2) How to remove the player's items and place them in a container using a trigger/script

Start here, and the 'See Also' section.

 

Eg.

scn StripAndUnarmPlayer

Begin OnTrigerEnter player
 player.RemoveAllItems ContainerREF 1
End

Edited by tunaisafish
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...