Jump to content

I need help building a script for my Strip-Club


reaper9111

Recommended Posts

Hello everyone, as you can guess this script will be THE NEEDED SCRIPT as i want it to be the script on the door that allow you access to the stripclub, the thing is that i dont know where to start...i already try changing a few of the existent script to suit my need without success... what i need is a script that apply on a door or one someone that will unlock that said door,that script is asking you if you want to pay the X amouth of gold to get in...but also that is not asking you to pay back when you exit that same door !...quite to complex for my self...as i only start to learn (the basic) of scripting...and even i still ask for help....lol...so here is the call ! if you need prouf that im serious whit that project ...ask and i'll send you pic of the project ! BIG THANKS TO FUTURE HELP !

 

edit : this sounds more like a request then anything else...lol...eniways !

Link to comment
Share on other sites

Hello everyone, as you can guess this script will be THE NEEDED SCRIPT as i want it to be the script on the door that allow you access to the stripclub, the thing is that i dont know where to start...i already try changing a few of the existent script to suit my need without success... what i need is a script that apply on a door or one someone that will unlock that said door,that script is asking you if you want to pay the X amouth of gold to get in...but also that is not asking you to pay back when you exit that same door !...quite to complex for my self...as i only start to learn (the basic) of scripting...and even i still ask for help....lol...so here is the call ! if you need prouf that im serious whit that project ...ask and i'll send you pic of the project ! BIG THANKS TO FUTURE HELP !

 

edit : this sounds more like a request then anything else...lol...eniways !

 

im just thinking off the top of my head here. Script the the door

 

on activate

messagebox the question

if button no

return

 

if button yes

if (player gold>charge)

remove player gold

door.unlock

else

messagebox youpoorfool

if its in a seperate cell then you do not have to worry about the outgoing door. Just dont apply the scrip to it. It can still be linked to the door. the pseudo but i think its pretty sound lemme know if i missed something.

The only thing i can think of im missing is perhaps a timer that locks the door again at dawn or whatever. I havent looked much into timers yet.

Link to comment
Share on other sites

Hello everyone, as you can guess this script will be THE NEEDED SCRIPT as i want it to be the script on the door that allow you access to the stripclub, the thing is that i dont know where to start...i already try changing a few of the existent script to suit my need without success... what i need is a script that apply on a door or one someone that will unlock that said door,that script is asking you if you want to pay the X amouth of gold to get in...but also that is not asking you to pay back when you exit that same door !...quite to complex for my self...as i only start to learn (the basic) of scripting...and even i still ask for help....lol...so here is the call ! if you need prouf that im serious whit that project ...ask and i'll send you pic of the project ! BIG THANKS TO FUTURE HELP !

 

edit : this sounds more like a request then anything else...lol...eniways !

 

im just thinking off the top of my head here. Script the the door

 

on activate

messagebox the question

if button no

return

 

if button yes

if (player gold>charge)

remove player gold

door.unlock

else

messagebox youpoorfool

if its in a seperate cell then you do not have to worry about the outgoing door. Just dont apply the scrip to it. It can still be linked to the door. the pseudo but i think its pretty sound lemme know if i missed something.

The only thing i can think of im missing is perhaps a timer that locks the door again at dawn or whatever. I havent looked much into timers yet.

 

thanks a lot for this guidance, i "should"be able to make it work...and for the timeri will check it out ! and if after rewriting the script the way it will be in game i still need help, then ill be back here...lol...thanks a lot friend !

 

EDIT : ok here's what i have done using your basic...but its not working...Agrrrr... God Damm Scripting...

 

scn StripClubDoor

 

Begin OnActivate

Messagebox " Do You Want To Pay The 50 Gold Needed To Get Inside The StripClub ? "No" , "Yes""

Set Button to GetButtonPressed

If button == -1

Messagebox "You Poor Fool"

Return

 

Elseif

if button == 2

if PlayerGold>50

Player.removeitem Gold001 50

Door.Unlock

Messagebox "Welcome, Make Your Self At Home, There's A Bed In The Basement If You Need To Rest !"

Endif

Endif

 

End

 

Pls Help !

Link to comment
Share on other sites

Hello everyone, as you can guess this script will be THE NEEDED SCRIPT as i want it to be the script on the door that allow you access to the stripclub, the thing is that i dont know where to start...i already try changing a few of the existent script to suit my need without success... what i need is a script that apply on a door or one someone that will unlock that said door,that script is asking you if you want to pay the X amouth of gold to get in...but also that is not asking you to pay back when you exit that same door !...quite to complex for my self...as i only start to learn (the basic) of scripting...and even i still ask for help....lol...so here is the call ! if you need prouf that im serious whit that project ...ask and i'll send you pic of the project ! BIG THANKS TO FUTURE HELP !

 

edit : this sounds more like a request then anything else...lol...eniways !

 

im just thinking off the top of my head here. Script the the door

 

on activate

messagebox the question

if button no

return

 

if button yes

if (player gold>charge)

remove player gold

door.unlock

else

messagebox youpoorfool

if its in a seperate cell then you do not have to worry about the outgoing door. Just dont apply the scrip to it. It can still be linked to the door. the pseudo but i think its pretty sound lemme know if i missed something.

The only thing i can think of im missing is perhaps a timer that locks the door again at dawn or whatever. I havent looked much into timers yet.

 

thanks a lot for this guidance, i "should"be able to make it work...and for the timeri will check it out ! and if after rewriting the script the way it will be in game i still need help, then ill be back here...lol...thanks a lot friend !

 

EDIT : ok here's what i have done using your basic...but its not working...Agrrrr... God Damm Scripting...

 

scn StripClubDoor

 

Begin OnActivate

Messagebox " Do You Want To Pay The 50 Gold Needed To Get Inside The StripClub ? "No" , "Yes""

Set Button to GetButtonPressed

If button == -1

Messagebox "You Poor Fool"

Return

 

Elseif

if button == 2

if PlayerGold>50

Player.removeitem Gold001 50

Door.Unlock

Messagebox "Welcome, Make Your Self At Home, There's A Bed In The Basement If You Need To Rest !"

Endif

Endif

 

End

 

Pls Help !

doesnt the button system start at 0? try that for starts. ie no = button 0, yes = button 1

Link to comment
Share on other sites

  • 3 weeks later...
I just got the most crazy idea ever :pinch:. What about making a Membership state? instead of paying 50 gold everytime you can give 2000 gold lifetime fee and you get a membership card which will grand you free entranche only if you have it on you :D :pinch:
Link to comment
Share on other sites

I just got the most crazy idea ever :pinch:. What about making a Membership state? instead of paying 50 gold everytime you can give 2000 gold lifetime fee and you get a membership card which will grand you free entranche only if you have it on you :D :pinch:

 

 

yeah i like that idea...but like i said...i already found a way to make it work !...private msg me the script if you have it... tks !

Edit, i just realize,,,your the one who sent me a msg about that topic right ? !!! well pm msg me back ! will discus the idea !

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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