Staredit Network > Forums > Modding Assistance > Topic: IScript opcodes
IScript opcodes
Mar 16 2009, 9:48 pm
By: poiuy_qwert  

Mar 16 2009, 9:48 pm poiuy_qwert Post #1

PyMS and ProTRG developer

Does anyone know which parameters in which IScript opcodes take negative values? I'm guessing most if not all commands that take offsets accept signed values but I'm not totally sure.

Edit: I investigated further and found IceCC accepts negatives in all places it expects numbers (not counting labels and stuff like image/sound/sprite id's) with no warnings but then decompiles them as unsigned (if you don't know what that means, a -1 would become 255 when decompiling).

Edit 2: Well here are my guesses as to which commands take negative values
sethorpos, setvertpos, setpos, imgol, imgul, imgoluselo, imguluselo, sprol, highprol, lowsprul, sproluselo, sprul, spruluselo, imgulnextid, grdsprol

Post has been edited 2 time(s), last time on Mar 16 2009, 11:05 pm by poiuy_qwert.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:18 am]
Symmetry -- Make maps for the memes :hurr:
[2026-10-30. : 8:19 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
hah yeah in the past that might've been up my alley. haven't really been mapping lately, been too busy with everything else. and kinda lost interest too tbh. just not enough people left on SC to feel worth investing the time personally.
[2026-10-30. : 8:03 pm]
lil-Inferno -- u
[2026-10-30. : 7:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
[2026-10-30. : 6:55 am]
UndeadStar -- :wob:
[2026-10-30. : 2:28 am]
Symmetry -- :wob:
[2026-10-29. : 9:17 pm]
RIVE -- :wob:
[2026-10-29. : 7:03 pm]
CoCo( -- OK, click here if any1 is interested in this $ making opportunity https://staredit.net/topic/18952/
[2026-10-29. : 4:39 pm]
NudeRaider -- sure, make a post in ums assistance
[2026-10-29. : 6:44 am]
CoCo( -- anyone willing to help fix a few triggers on a new "impossible" map? Please
Please log in to shout.


Members Online: Butch