I wonder if there is a way to create an object that has a state. For example, when creating a hammer, cause it is on fire or shock. I'm actually creating a lamp and I want to make him stay with the status of flare.
See my script here:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
###Lamp
combi=start
id=Lamp
req=85,5 (iron)
req=106 (bottle)
req=37 (potion)
req=30,1,stay (hammer)
gen=507 (lamp)
script=start
	speech "positive";
	event "lampcombi",0,0;
	addstate "self",22;
script=end
combi=end
I know that the error is in "addstate ...", but I do not know how it would be right.
I would also like to know what the line means "event" lampcombi, "0.0," and the numbers "0.0,".
Grateful edited 2×, last 05.09.11 02:52:36 pm
Admin/mod comment
Stop pushing your thread. /Leiche DC Admin Offline
items can not have a state when they are stored somewhere (in the player inventory or an object or wherever)
items created by combinations will be instantly stored so they state would disappear. doesn't work this way. also I'm not sure if "self" works in a combination script. thx man, I'll make another thing (I will not do this). Topic can be closed