Forum

> > Stranded II > Scripts > Infinite Ammo
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Infinite Ammo

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Infinite Ammo

Xephoriah
User Off Offline

Zitieren
Im making a bow and an arrow that each individually work with only each other, i want this specific bow to shoot the arrow as many times as you want with only needing one arrow. what do i use in the script to set the value of the bow/arrow to make it be used infinitley?

alt Re: Infinite Ammo

Xephoriah
User Off Offline

Zitieren
it didnt work, when i tested, the FOUND popup came up and my arrow was gone and i kept clicking, it made a sound like i picked something up, but it didnt shoot more than one arrow

alt Re: Infinite Ammo

Hurri04
Super User Off Offline

Zitieren
okay, in that case maybe add this line after the line with the "find" command:
1
player_ammo [AMMO TYPE];
that should set the number of arrows you have displayed in the bottom right corner to 1 again if it stayed at 0 before.

also: you wrote this script at the definition of the bow and not the arrow, right?

alt Re: Infinite Ammo

Xephoriah
User Off Offline

Zitieren
still not working, i tried

1
2
3
4
5
script=start
on:attack1 {
    find player_ammo [Ammo type];
}
script=end
and this
1
2
3
4
5
script=start
on:attack1 {
gen=(item id):
}
script=end
i tried the second one with and without the ; on the end of the item id

alt Re: Infinite Ammo

Assassin moder
User Off Offline

Zitieren
where {Ammo type} is, you need to but an ammo item ID also the second one is completely broken script..
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht