Jump to content

Menu When puttin on armor


JkKILER

Recommended Posts

Hey all, I am looking to make a teleporter for a mod I am making. So when you play with FWE you get that nifty control panel under armors right? Well, I just want to make a simple one where when you equip it, A menu shows up with the two options: Teleport, and Do Nothing. I tried just attaching the following script to the item, But it just crashes the game. Any other ideas as to how the FWE creators did that menu thing?

 

Script:

Scn DTBTeleporterScript

short button

begin onequip player

showmessage DTBTeleporterMessageMain

endif

end

Begin GameMode

If button == 0

player.moveto FloorTeleport

Player.Unequipitem 0teleporter <the "armor"

elseif button == 1

endif

end

 

EDIT:: To anyone who cares I figured out what was going on with it. If anyone finds this and wonders how the FWE people made their menus, contact me.

Edited by JkKILER
Link to comment
Share on other sites

  • Recently Browsing   0 members

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