View Single Post
  #14  
Old 11-28-2001, 07:58 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by konidias
The thing I am stuck on actually.. is how on earth to do my menu's for this.. Okay, here is what I have:

A menu where the player can select from several options
An npc that checks for a player in an area

Now I need to be able to have the menu pop up when the player is in the area.. but the npc is not a weapon the player has or anything, the npc is just on the level.. how on earth would this be accomplished? I mean it's silly to put all the menu coding into the npc that checks the players postion.. plus the menu has lots of stuff like functions and timeout which would really screw up the npc that checks your position...

How would I call the menu script from the npc, and only load the menu for that one player?

triggeractions?
well if you want this menu to show up in certain areas I would recomment it being a weapon because that would be easier to do...

but I know you cant always do it that way. Triggeraction would be kind of hard unless you have it
//#CLINETSIDE
because then you can check the players x and y values.

but if you dont have it clientside then you could do it by just putting a npc in every level you need it in with the npcs coding for hte menu (I would probably not do this way)
__________________
Thanks,
-KJL
Reply With Quote