![]() |
new command suggetion
NPC Code: pops up a sign on your screen, with a question and the answers you give (how big the question screen is depends on the ammt of answers you provide then when the player answers it triggers the weapon actionansweredquestion param1=question param2=answer given so for example NPC Code: |
great idea :)
|
What might this NPC be for? A mafia hideout like on GTA3 *goes to play it*
|
Riddle Quests, Comfirming Stuff,.......etc.
|
Quote:
like for a bank "Are you sure you want to deposit #v(this.depamt)g in the bank?" or for a new form of trading "Are you sure you want to give #s(this.recacc) a #s(this.senditem) for #v(this.recammt) #s(this.recitem)?" |
it should be if (strequals(#p(0),yes)) {
blah} |
SOunds good.
I really like that idea. |
Don't be lazy and script it yourself :P
|
I suggested this months ago. :)
So of course I think it is a capital idea. |
Quote:
if you read... param1 (#p(0)) is the question param2 (#p(1)) is the answer |
yes, you see though, its better to script things like this yourself. Since you can do anything with your own script, you arent restricted to default.
|
Nice Idea
Wouldn't be laggier if he scripted it?
I mean he basicaly scripted Enigma/Pandora and it lags like hell! |
LOLz... you can ALWAYS do stuff better yourself. make the sign stay there, or use showimg's until they type yes,or press 1, 2, 3, whatever. So what would be the point, you'd save all of 10 seconds x.x
---Shifter |
If it was hard coded into the game, its going to run faster.
No matter, what Hard coding, runs faster than something scripted. No matter what. Somewhere along the line it will slow down as a script. And I scripted all of enigma. And it doesnt "lag like hell" |
I think it would be a great idea. It would save time from having to script yourself and would definately lag less
|
Quote:
|
Quote:
its easy if you have several npc's that do prompting every major coding language, even the lame baisic ones have a command like this. why do functions when we have timeout loops? because it makes things simpler, and neater |
Quote:
Quote:
Quote:
|
wouldn't this work just as well? (I've only been scripting for like 3 hours)
NPC Code: |
Quote:
it would if you could use up down arrow to select Yes or No |
Quote:
|
One would not need a "up" or "down" arrow. All they need is a brain to type "Yes" or "No".
Here is the new edited script: NPC Code: Godspeed helped me edit it. :) |
True you can just type them out but by using arrows to select the correct answer (or clicking on it with the mouse) seems more profesional than typing it out.
|
Well to tel lyou the truth, I'm a newb to scripting and I don't know how. :(
|
Quote:
I'm not posting the script for it tho |
blah I'm just too lazy to learn that...
|
| All times are GMT +2. The time now is 07:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.