Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SGK

#21
im trying it now....


whats the (int direct)?
#22
Ive noticed that when ure making a movecharacther thing, theres the option to wait for move to finish.

checking TRUE or FALSE in it makes no difference in the equivalent text script in the box below.

how do you make that in scripting?
#23
ok thanks again, ive discovered that when the autocomplete box appeared with SetGlobalInt.

But the problem now is that how do i say to the program that the number or the variable is the global message?

EDIT: Ive found the solution! thanks!

Need now help in: dialog requests. for the run-script 1 , i use
function dialog_request (int dialog) {
if (dialog == 1) {


but what do i use for another dialog request?
#24
ok thanks!

heres the message:

Room 0 script line 5:
ERROR: a text script run in the PlayerEntersScreen event caused the screen to be updated. if you need to use Wait(), do so in After Fadein.

Ive fixed it already now thanks!

hey! wait! how do i set real global variables? ill have to use scripting??  
#25
ive read it all and put an excerpt from it  :P

look:
"set-globalint GI VAL

Changes text script GlobalInt number GI to have the value VAL. This is equivalent to the SetGlobalInt text script command, and allows you to quickly set things without having to go through a run-script just to set an int value. "

tahts whats in the manual about dialog scripting functions.

now i wanna know whats the GI thingy!

in ur example you said 6, but how do i know whats the number of the variable? it doenst have numbers! its just a list of all existing ones!

--==--
Ive set to room 0 but it appears an error message!
#26
well how do i make the game start with the intro.crm room? ive saved the room as "intro" and it was supposed to start in it, isnt it?

i should define that the player starts in intro? but how? it doenst acccept letters! ???

****===****

And how do i set variables using a dialog scripting? sounds easy and all (its in thte manual too i know) but look at its explanation:

"set-globalint GI VAL

Changes text script GlobalInt number GI to have the value VAL. This is equivalent to the SetGlobalInt text script command, and allows you to quickly set things without having to go through a run-script just to set an int value. "

The name of the global variable im using is QUEST. So ive done this in the dialog:

// dialog script file
@S  // dialog startup entry point
EGO: Hi!
Q: What are you? A Sphero?! HAHAHA
EGO: Im an owl... Well:
set-globalint QUEST 511
return

and it doenst work. NOTE: 511 is the number of the global message i want to change to. The normal value of QUEST is 510 and i want to change it to 511! its simple someone help me!
#27
It worked! thanks! Ive used (for no reason) number 1 in the place of whatever, but id like to know what is the number one ive put?

im using variables in other places so id like to understand it.

and btw, whtas (int) ??
#28
ok thanks ive found it.

But still theres a crucial thing: where to put that script things you all gave me!

like wofgandg said to put this:

character[EGO].room = character[EGO].prevroom

very useful, but  i put it where exactly and how i mean i want you to "look the map"(change room) then you click anywhere(ive sued a hotspot) and you return where you were before.
#29
SCUMBUDDY: both of them i think i dont know hwat the template i meant the game icon, it makes it look more professional.

NAVYNUKE04: Thanks but im not much familiarized with scripting i only use functions in the interaction menu... where do i put that?

(ill read the manual of course) but you have to put this line in every room you go to?

Id like to do something like in "rodekill a day in life" where you can read the notes and wherever you are you go back as if you really have just read the note not transported to another room.

WOLFGANG: thanks! but im nt certain about the answer of question 1 where to put the script line.

Tahnks to all. :)
#30
hi all im new and this is my first post so im sort of newbie.

well i have these questions:

1- how to make an object like a map thats in your inventory and you can see it anytime at all. ive done that using the map image as a room hiding the player characther and creating an area where anywhere you click it would go to a certain room. thats the trouble.
how to make that when you finish to see the "map" (that is a room) you go back to the place that you were before when you clicked the map object?

2- what are the possible room names? only roomXXX?

3- when you create a new game there a thing were you select the icon. how do i add more?

(an extra question)
4- how to make the keyboard usable in the game like a first player game where you shoot as a sniper like "6dayassassin" 8) ?

EDIT:wtf is this automatically editing to remove txt spelling?!
SMF spam blocked by CleanTalk