Forum

> > Stranded II > Scripts > Infinite Ammo
Forums overviewStranded II overview Scripts overviewLog in to reply

English Infinite Ammo

5 replies
To the start Previous 1 Next To the start

old Infinite Ammo

Xephoriah
User Off Offline

Quote
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?

old Re: Infinite Ammo

Xephoriah
User Off Offline

Quote
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

old Re: Infinite Ammo

Hurri04
Super User Off Offline

Quote
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?

old Re: Infinite Ammo

Xephoriah
User Off Offline

Quote
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

old Re: Infinite Ammo

Assassin moder
User Off Offline

Quote
where {Ammo type} is, you need to but an ammo item ID also the second one is completely broken script..
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview