Forum
Stranded II Scripts Scripting Questionson:impact {
explosion getx(""),gety(""),getz(""),$radius,$damage;
}
script=end
When I throw it it dosnt do anything, please help
lint35 has written
I need help on a script on the
on:impact {
explosion getx(""),gety(""),getz(""),$radius,$damage;
}
script=end
When I throw it it dosnt do anything, please help
on:impact {
explosion getx(""),gety(""),getz(""),$radius,$damage;
}
script=end
When I throw it it dosnt do anything, please help
Don't you need to set a radius and damage?
However, exactly what is meant by the spawn control's "All X Days"? Can that just be left 0 to execute once every day or do I need to set it to 1?
Which is the preferred method to do a trader-type NPC, msgbox or dialogue? And how do I do it?
EDIT: Okay, got that figured out too. Whee. Now to finish the rest of the island.
edited 1×, last 17.05.08 06:40:14 am
^^LMAO!
I didn't know where to put this so I figured here is as good as any. What is the frost bite state, what causes it, and why is it there.
Thanks!
-Gregg
P.S. You can cure it by using a fire...
It is basically your hands. You can use them to cure poisoning by sticking your fingers down your throat and throwing up. Anyway I was wanting to know the command on how to make something "un-drop-able", as you can't drop your hands.
Thanks in advance.
I give up!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
### Hands id=123 name=Hands group=stuff icon=gfx\hands.bmp scale=1 mat=flesh weight=0 health=10000000000000 info=My two hands. I can use them to stick my fingers down my throat. It might cure poisoning... healthchange=0 script=start 	on:use { 		$tmp=random(1,4); 		if ($tmp==1){ msg "You stick your fingers down your throat, to no avail."; } 		if ($tmp==2){ msg "You stick your fingers in your mouth, but you are to scared to do it."; } 		if ($tmp==3){ msg "You stick your fingers down your throat, but only to cough and spit out some saliva."; } 		if ($tmp==4){ msg "You stick your fingers down your throat and vomit spectacularly."; } 	} 	on:eat { 		speech "negative"; 		msg "I'm not a self cannibalilising moron!!",3; 	} script=end
Where would I put this:
1
2
3
4
2
3
4
process "Vomiting",1000; eat -30,-30,-30,15; freestate "unit",1,"intoxication"; play "vomit.wav";
I feel like such a n00b!
edited 1×, last 17.05.08 04:28:06 pm
1
on:drop { skipevent; }
just put the other stuff in the brackets where you vomit
1
2
3
4
5
6
7
2
3
4
5
6
7
if ($tmp==4){ msg "You stick your fingers down your throat and vomit spectacularly."; process "Vomiting",1000; eat -30,-30,-30,15; freestate "unit",1,"intoxication"; play "vomit.wav"; }
Xane has written
I stopped asking questions once I figured out that it's faster to go through this list and take any of them that look like they could work and try them till I find the one I want.
See, the problem with that list is that absolutely none of the entries have descriptions on what they do or where/how to use them. The list is even incomplete: where's sell and buy?
I'm not that bored, though. I'm only bored enough to make Stranded II maps.
Thats the link to the Google translated version, some words didn't translate, and some sentences don't sound right in English. But it's better than nothing.
Good try though.
So that means I have a question !
How do I make an item change health without changing it's number.
E.g. (not real code, just and example)
Item name: Pebble
on:use it will take away 5 health, but make you less hungry.
And I want to keep the number of pebbles the same.
Thanks for any help.
P.S. If you don't understand I'll explain it again.
I have been thinking what about using eat and then using the create item command to create a new "pebble". Would that work?
1
2
3
4
5
6
2
3
4
5
6
script=start 	on:inhand 		{timer "item",1,1000,0;} 	on:timer 		{msg "tick";} script=end
But once I put it away the timer is still going.