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.
[2026-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: Revenant, Andrea Rosa